WordPress at a glance
action is not described

deleted_post action-hook . WP 2.2.0

Fires immediately after a post is deleted from the database.

Usage

add_action( 'deleted_post', 'action_function_name_2098', 10, 2 );
function action_function_name_2098( $postid, $post ){
	// action...
}
$postid(int)
Post ID.
$post(WP_Post)
Post object.

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

С версии 2.2.0 Введена.
С версии 5.5.0 Added the $post parameter.

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

wp_delete_post()
deleted_post
wp_delete_attachment()
deleted_post
wp-includes/post.php 3094
do_action( 'deleted_post', $postid, $post );
wp-includes/post.php 5844
do_action( 'deleted_post', $post_id, $post );

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

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