WordPress at a glance
action is not described

save_post action-hook . WP 1.5.0

Fires once a post has been saved.

Usage

add_action( 'save_post', 'action_function_name_5525', 10, 3 );
function action_function_name_5525( $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.

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

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

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

wp_insert_post()
save_post
wp_publish_post()
save_post
WP_Customize_Manager::trash_changeset_post()
save_post
wp-includes/post.php 4260
do_action( 'save_post', $post_ID, $post, $update );
wp-includes/post.php 4396
do_action( 'save_post', $post->ID, $post, true );
wp-includes/class-wp-customize-manager.php 3101
do_action( 'save_post', $post->ID, $post, true );

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

wp-includes/default-filters.php 477
add_action( 'save_post', 'delete_get_calendar_cache' );