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