I have some custom data before the advanced section of the write/edit post form. I need to populate my form with previously saved values. I don't know where to hook to get postid.
The form is being built by a hook in edit_form_advanced.
I have some custom data before the advanced section of the write/edit post form. I need to populate my form with previously saved values. I don't know where to hook to get postid.
The form is being built by a hook in edit_form_advanced.
Is there any reason to not just set a global reference to $post?
Is this the recommended way?
This topic has been closed to new replies.