Welcome, visitor! Log in
 

WordPress hook directory
wp_insert_post_data

Description

Applied to modified and unmodified post data in wp_insert_post() prior to update or insertion of post into database. Function arguments: modified and extended post array and sanitized post array.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for wp_insert_post_data

This database has information for all major versions from WP 1.2.1 through 3.5.

Version File Line Type
2.7 wp-includes/post.php 1456 View hook in source filter
2.8 wp-includes/post.php 1520 View hook in source filter
2.9 wp-includes/post.php 1731 View hook in source filter
3.0 wp-includes/post.php 2294 View hook in source filter
3.1 wp-includes/post.php 2534 View hook in source filter
3.2 wp-includes/post.php 2568 View hook in source filter
3.3 wp-includes/post.php 2567 View hook in source filter
3.4 wp-includes/post.php 2612 View hook in source filter
3.5 wp-includes/post.php 2864 View hook in source filter

Related Hooks

We find related hooks using word stems. wp_insert_post_data has 3 significant word stem(s): insert, post, data. Note that some of the hooks below may not appear in all versions of WP.