Fires immediately after a post is deleted from the database.
$post_idint
$postWP_Post
do_action( 'deleted_post', $post_id, $post );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/deleted_post