WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about override_post_lock

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/post.php apply_filters 1791 /**
* Filters whether to allow the post lock to be overridden.
*
* Returning false from the filter will disable the ability
* to override the post lock.
*
* @since 3.6.0
*
* @param bool $override Whether to allow the post lock to be overridden. Default true.
* @param WP_Post $post Post object.
* @param WP_User $user The user with the lock for the post.
*/

Hook Parameters

Parameter Type Name Description
bool $override Whether to allow the post lock to be overridden. Default true.
WP_Post $post Post object.
WP_User $user The user with the lock for the post.