do_action( 'before_delete_post', int $postid )
Fires before a post is deleted, at the start of wp_delete_post().
Description
See also
Parameters
- $postid
-
Post ID.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
WP-3.2.0 | Introduced. |