[wp-hackers] getting edit data in entirety before posts go to database

horatio bnabble at says.mu
Fri Dec 19 05:26:43 GMT 2008

scribu wrote:
> On Fri, Dec 19, 2008 at 4:05 AM, horatio <bnabble at says.mu> wrote:
>> thank you! didn't see that one in the code or documented anywhere.
>> the metadata/custom fields don't seem to be passed in-- is that available
>> anywhere?
> just do a var_dump($_POST) inside the filter to see how the custom fields
> are passed and use that.

using $_POST is a bad habit & is not adequate, as actions and filters may
add their own custom fields... as is this case here. i'm building on top of
a system that appends hidden custom fields further up the action chain. am i
stuck with waiting for the insert and pulling it back out again?

View this message in context: http://www.nabble.com/getting-edit-data-in-entirety-before-posts-go-to-database-tp21048549p21086049.html
Sent from the Wordpress Hackers mailing list archive at Nabble.com.

More information about the wp-hackers mailing list