do_action( 'deleted_post', int $postid )
Fires immediately after a post is deleted from the database.
Parameters
- $postid
-
Post ID.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
WP-2.2.0 | Introduced. |