wpseek.com
WordPress开发者和主题制作者的搜索引擎



override_post_lock › WordPress过滤钩子

Since3.6.0
已弃用n/a
› apply_filters( 'override_post_lock', true, $post, $user )
参数: (3)
  • () override Whether to allow the post lock to be overridden. Default true.
    Required: Yes
  • () post Post object.
    Required: Yes
  • () user The user with the lock for the post.
    Required: Yes
定义在:
文档:

Filters whether to allow the post lock to be overridden.

Returning false from the filter will disable the ability to override the post lock.




源码

$override = apply_filters( 'override_post_lock', true, $post, $user );