apply_filters( 'pre_delete_post', WP_Post|false|null $delete , WP_Post $post , bool $force_delete )
Filters whether a post deletion should take place.
Parameters
Source
File: wp-includes/post.php
.
View all references
$check = apply_filters( 'pre_delete_post', null, $post, $force_delete );
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |