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