pre_delete_post
最后更新于:2021-11-27 18:46:40
apply_filters( ‘pre_delete_post’, bool|null $delete, GC_Post $post, bool $force_delete )
Filters whether a post deletion should take place.
参数
- $delete
-
(bool|null)
Whether to go forward with deletion. - $post
-
(GC_Post)
Post object. - $force_delete
-
(bool)
Whether to bypass the Trash.
源文件
文件: gc-includes/post.php