after_delete_post

after_delete_post

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('after_delete_post') is found 1 times:

  • /wp-includes/post.php line 3535
    	 *
    	 * @param int     $postid Post ID.
    	 * @param WP_Post $post   Post object.
    	 */
    	do_action( 'after_delete_post', $postid, $post );
    
    	return $post;
    }
    
    /**
     * Resets the page_on_front, show_on_front, and page_for_post settings when
    

See this hook used in plugins: