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

horatio bnabble at says.mu
Fri Dec 19 02:05:41 GMT 2008

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

scribu wrote:
> Check into the 'wp_insert_post_data' filter, which gets all the post
>> data including the post slug, right after the post slug has been
>> incremented but before it's actually updated in the database.
> On Wed, Dec 17, 2008 at 9:38 AM, horatio <bnabble at says.mu> wrote:
>> am i wrong in thinking that there are no hooks to manipulate entire edits
>> before they hit the database?
>> for example; lets say i want to rewrite the way slugs are saved. i'd hook
>> into the 'name_save_pre' filter, but then i'm isolated to the passed name
>> with no reference to the rest of the post. how can i get the proper title
>> of
>> the post without going into the database or using raw post data?

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

More information about the wp-hackers mailing list