WordPress at a glance
action is not described

wp_insert_post action-hook . WP 2.0.0

Fires once a post has been saved.

Usage

add_action( 'wp_insert_post', 'action_function_name_7229', 10, 3 );
function action_function_name_7229( $post_ID, $post, $update ){
	// action...
}
$post_ID(int)
Post ID.
$post(WP_Post)
Post object.
$update(true/false)
Whether this is an existing post being updated.

Список изменений

С версии 2.0.0 Введена.

Где вызывается хук

wp_insert_post()
wp_insert_post
wp_publish_post()
wp_insert_post
WP_Customize_Manager::trash_changeset_post()
wp_insert_post
wp-includes/post.php 4271
do_action( 'wp_insert_post', $post_ID, $post, $update );
wp-includes/post.php 4399
do_action( 'wp_insert_post', $post->ID, $post, true );
wp-includes/class-wp-customize-manager.php 3104
do_action( 'wp_insert_post', $post->ID, $post, true );

Где используется хук в ядре WP

Использование не найдено.