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

scribu scribu at gmail.com
Wed Dec 17 11:45:51 GMT 2008

Austin MatzkoCheck into the 'wp_insert_post_data' filter, which gets all the
post data inc...
Dec 15 (2 days ago)
Austin MatzkoLoading...Dec 15 (2 days ago)
Austin Matzko 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-tp21048549p21048549.html
> Sent from the Wordpress Hackers mailing list archive at Nabble.com.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list