after_delete_post – action
Fires after a post is deleted, at the conclusion of wp_delete_post().
Parameters
- .
- ( 3.2.0 ) . .
- Added
- ( 5.5.0 ) the `$post` parameter. . . .
- .
- ( wp_delete_post() ) . .
- ( int ) $postid Post ID. . . .
- $post
- ( WP_Post ) Post object. . . .