Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
wp_insert_post

Description

Same as save_post, runs immediately afterwards.

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

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

Version File Line Type
2.0 wp-includes/functions-post.php 207 View in context action
2.0.11 wp-includes/functions-post.php 209 View in context action
2.1 wp-includes/post.php 707 View in context action
2.2 wp-includes/post.php 709 View in context action
2.3 wp-includes/post.php 770 View in context action
2.3 wp-includes/post.php 834 View in context action
2.5 wp-includes/post.php 1328 View in context action
2.5 wp-includes/post.php 1422 View in context action
2.6 wp-includes/post.php 1413 View in context action
2.6 wp-includes/post.php 1507 View in context action
2.7 wp-includes/post.php 1529 View in context action
2.7 wp-includes/post.php 1618 View in context action
2.8 wp-includes/post.php 1601 View in context action
2.8 wp-includes/post.php 1693 View in context action
2.9 wp-includes/post.php 1812 View in context action
2.9 wp-includes/post.php 1904 View in context action
3.0 wp-includes/post.php 2384 View in context action
3.0 wp-includes/post.php 2476 View in context action
3.1 wp-includes/post.php 2624 View in context action
3.1 wp-includes/post.php 2716 View in context action
3.2 wp-includes/post.php 2658 View in context action
3.2 wp-includes/post.php 2750 View in context action
3.3 wp-includes/post.php 2657 View in context action
3.3 wp-includes/post.php 2743 View in context action
3.4 wp-includes/post.php 2699 View in context action
3.4 wp-includes/post.php 2785 View in context action
3.5 wp-includes/post.php 2951 View in context action
3.6 wp-includes/post.php 2883 View in context action
3.6 wp-includes/post.php 2975 View in context action
3.7 wp-includes/post.php 2955 View in context action
3.7 wp-includes/post.php 3048 View in context action
3.8 wp-includes/post.php 2962 View in context action
3.8 wp-includes/post.php 3055 View in context action
3.9 wp-includes/post.php 3259 View in context action
3.9 wp-includes/post.php 3355 View in context action
4.0 wp-includes/post.php 3515 View in context action
4.0 wp-includes/post.php 3616 View in context action
4.1 wp-includes/post.php 3510 View in context action
4.1 wp-includes/post.php 3611 View in context action
4.2 wp-includes/post.php 3552 View in context action
4.2 wp-includes/post.php 3653 View in context action
4.3 wp-includes/post.php 3602 View in context action
4.3 wp-includes/post.php 3703 View in context action
4.4 wp-includes/post.php 3396 View in context action
4.4 wp-includes/post.php 3497 View in context action
4.5 wp-includes/post.php 3540 View in context action
4.5 wp-includes/post.php 3641 View in context action
4.6 wp-includes/post.php 3420 View in context action
4.6 wp-includes/post.php 3521 View in context action
4.7 wp-includes/post.php 3516 View in context action
4.7 wp-includes/post.php 3617 View in context action
4.7 wp-includes/theme.php 2897 View in context action
4.8 wp-includes/post.php 3521 View in context action
4.8 wp-includes/post.php 3622 View in context action
4.8 wp-includes/theme.php 2918 View in context action
4.9 wp-includes/class-wp-customize-manager.php 2970 View in context action
4.9 wp-includes/post.php 3592 View in context action
4.9 wp-includes/post.php 3693 View in context action
5.0 wp-includes/class-wp-customize-manager.php 2977 View in context action
5.0 wp-includes/post.php 3758 View in context action
5.0 wp-includes/post.php 3859 View in context action
5.1 wp-includes/class-wp-customize-manager.php 3022 View in context action
5.1 wp-includes/post.php 3962 View in context action
5.1 wp-includes/post.php 4072 View in context action
5.2 wp-includes/class-wp-customize-manager.php 3022 View in context action
5.2 wp-includes/post.php 3962 View in context action
5.2 wp-includes/post.php 4072 View in context action
5.3 wp-includes/class-wp-customize-manager.php 3059 View in context action
5.3 wp-includes/post.php 4130 View in context action
5.3 wp-includes/post.php 4241 View in context action
5.4 wp-includes/class-wp-customize-manager.php 3063 View in context action
5.4 wp-includes/post.php 4155 View in context action
5.4 wp-includes/post.php 4280 View in context action
5.5 wp-includes/class-wp-customize-manager.php 3104 View in context action
5.5 wp-includes/post.php 4271 View in context action
5.5 wp-includes/post.php 4399 View in context action
5.6 wp-includes/class-wp-customize-manager.php 3106 View in context action
5.6 wp-includes/post.php 4320 View in context action
5.6 wp-includes/post.php 4486 View in context action
5.7 wp-includes/class-wp-customize-manager.php 3106 View in context action
5.7 wp-includes/post.php 4395 View in context action
5.7 wp-includes/post.php 4561 View in context action
5.8 wp-includes/class-wp-customize-manager.php 3106 View in context action
5.8 wp-includes/post.php 4479 View in context action
5.8 wp-includes/post.php 4645 View in context action
5.9 wp-includes/class-wp-customize-manager.php 3106 View in context action
5.9 wp-includes/post.php 4697 View in context action
5.9 wp-includes/post.php 4863 View in context action
6.0 wp-includes/class-wp-customize-manager.php 3110 View in context action
6.0 wp-includes/post.php 4684 View in context action
6.0 wp-includes/post.php 4850 View in context action
6.1 wp-includes/class-wp-customize-manager.php 3111 View in context action
6.1 wp-includes/post.php 4728 View in context action
6.1 wp-includes/post.php 4894 View in context action
6.2 wp-includes/class-wp-customize-manager.php 3111 View in context action
6.2 wp-includes/post.php 4726 View in context action
6.2 wp-includes/post.php 4892 View in context action

Related Hooks

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