WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about after_delete_post

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php do_action 3498 /**
* Fires after a post is deleted, at the conclusion of wp_delete_post().
*
* @since 3.2.0
* @since 5.5.0 Added the `$post` parameter.
*
* @see wp_delete_post()
*
* @param int $postid Post ID.
* @param WP_Post $post Post object.
*/

Hook Parameters

Parameter Type Name Description
int $postid Post ID.
WP_Post $post Post object.