Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

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 6.2.

Version File Line Type
2.7 wp-includes/post.php 1456 View in context filter
2.8 wp-includes/post.php 1520 View in context filter
2.9 wp-includes/post.php 1731 View in context filter
3.0 wp-includes/post.php 2294 View in context filter
3.1 wp-includes/post.php 2534 View in context filter
3.2 wp-includes/post.php 2568 View in context filter
3.3 wp-includes/post.php 2567 View in context filter
3.4 wp-includes/post.php 2612 View in context filter
3.5 wp-includes/post.php 2864 View in context filter
3.6 wp-includes/post.php 2796 View in context filter
3.7 wp-includes/post.php 2867 View in context filter
3.8 wp-includes/post.php 2874 View in context filter
3.9 wp-includes/post.php 3113 View in context filter
4.0 wp-includes/post.php 3326 View in context filter
4.1 wp-includes/post.php 3321 View in context filter
4.2 wp-includes/post.php 3363 View in context filter
4.3 wp-includes/post.php 3412 View in context filter
4.4 wp-includes/post.php 3182 View in context filter
4.5 wp-includes/post.php 3326 View in context filter
4.6 wp-includes/post.php 3185 View in context filter
4.7 wp-includes/post.php 3281 View in context filter
4.8 wp-includes/post.php 3286 View in context filter
4.9 wp-includes/post.php 3357 View in context filter
5.0 wp-includes/post.php 3523 View in context filter
5.1 wp-includes/post.php 3713 View in context filter
5.2 wp-includes/post.php 3713 View in context filter
5.3 wp-includes/post.php 3881 View in context filter
5.4 wp-includes/post.php 3906 View in context filter
5.5 wp-includes/post.php 3971 View in context filter
5.6 wp-includes/post.php 4020 View in context filter
5.7 wp-includes/post.php 4095 View in context filter
5.8 wp-includes/post.php 4179 View in context filter
5.9 wp-includes/post.php 4387 View in context filter
6.0 wp-includes/post.php 4374 View in context filter
6.1 wp-includes/post.php 4418 View in context filter
6.2 wp-includes/post.php 4416 View in context 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.