Fires immediately after a post is deleted from the database.
Parameters
$post_id
int- Post ID.
$post
WP_Post- Post object.
Source
do_action( 'deleted_post', $post_id, $post );
Fires immediately after a post is deleted from the database.
$post_id
int$post
WP_Postdo_action( 'deleted_post', $post_id, $post );
User Contributed Notes
You must log in before being able to contribute a note or feedback.