Hi
Im building a form to edit post meta data. I'm presuming the setup will be as follows.
1) Pass the postID to a hidden field via the URL on which the form is located
2. Prepopulate the form fields with the existing post-meta fields. (I have this setup already so no questions about this)
3. On form submit use the post submission hook to call a "example-processing.php" file where I handle the relevant database entriees to add the details tto the wp_postmeta table
//////////////
So if the above is correct I have the following questions:
1. Can you provide a brief code example for how to use the post submission hook in these circumstances
2. Can you provide a brief code example for how to reference the data inside my "example-processing.php" file. I have no problem with the subsequent database entries once I have the variables declared in this file.
Thanks as always for your help
Luke