do_action( 'wp_trash_post', int $post_id )
Fires before a post is sent to the trash.
Description Description
Parameters Parameters
- $post_id
-
(int) Post ID.
Source Source
File: wp-includes/post.php
Changelog Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |