delete_post_{$post->post_type}, $post_id, $post
delete_post_{$post->post_type}, $post_id, $post
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('delete_post_{$post->post_type}, $post_id, $post') is found 1 times:
- /wp-includes/post.php line 3894
* * @param int $post_id Post ID. * @param WP_Post $post Post object. */ do_action( "delete_post_{$post->post_type}", $post_id, $post ); /** * Fires immediately before a post is deleted from the database. * * @since 1.2.0 * @since 5.5.0 Added the `$post` parameter.