Using write_participant method
-
Hi,
I have developed 2 plugins, one based on participants-database, and the other using the data from participants-database in which I have a form in WP back-end to add/update records to the Participants DB.
I am trying to use the write_participant method.
The first problem I had was that the process_form function is trying to use the data from $_FILES, from my own form. Easily solved by unsetting $_FILES content before calling write_participant().
I need help on the 2nd problem: is_admin() called in process_form() is returning false and process_form does not update DB with my data. For example, $column_set is getting the ‘frontend’ value, instead of ‘backend’. My php modules are called from the WP administration.
I suspect I am not using WP hooks as I should.
Can you help?
Thanks
- The topic ‘Using write_participant method’ is closed to new replies.