Used By
Used By | Description |
---|---|
wp-includes/class-wp-customize-manager.php: WP_Customize_Manager::trash_changeset_post() | Trash or delete a changeset post. |
wp-includes/post.php: wp_trash_post() | Move a post or page to the Trash |
Filters whether a post trashing should take place.
(bool|null) Whether to go forward with trashing.
(WP_Post) Post object.
File: wp-includes/post.php
Version | Description |
---|---|
4.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_trash_post