override_post_lock

最后更新于:2021-11-27 12:35:34

apply_filters( ‘override_post_lock’, bool $override, GC_Post $post, GC_User $user )

Filters whether to allow the post lock to be overridden.

参数

$override

(bool)
Whether to allow the post lock to be overridden. Default true.

$post

(GC_Post)
Post object.

$user

(GC_User)
The user with the lock for the post.

源文件

文件: gc-admin/includes/post.php

View on Trac