Hi,
Is it possible to set a field value directly via a php-function instead of via the WP Dashboard?
Hi,
Is it possible to set a field value directly via a php-function instead of via the WP Dashboard?
Hey tricks
Unfortunately this was actually my first released plugin, and I hadn't got into the habit of breaking EVERYTHING down into the simplest APIs.
That being said, inserting directly into the table is pretty simple. Have a look at the nggcf_save_pics() function for a basic idea. It takes all the pictures when saving a gallery in NGG and loops through them INSERTING or UPDATING wp_nggcf_field_values.
Essentially the fields in wp_nggcf_field_values are:
Thanks for your quick reply. Sorry I forgot to reply myself. Issue has been solved.
You must log in to post.