apply_filters( ‘pre_delete_post’, WP_Post|false|null $delete, WP_Post $post, bool $force_delete ) In this article Table of ContentsParameters Source Changelog ↑ Back to top Filters whether a post deletion should take place. Parameters $deleteWP_Post|false|nullWhether to go forward with deletion.$postWP_PostPost object.$force_deleteboolWhether to bypass the Trash. Source * View all references View on Trac View on GitHub Changelog VersionDescription4.4.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.