WordPress at a glance
filter is not described

override_post_lock filter-hook . WP 3.6.0

Filters whether to allow the post lock to be overridden.

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

Usage

add_filter( 'override_post_lock', 'filter_function_name_5702', 10, 3 );
function filter_function_name_5702( $override, $post, $user ){
	// filter...

	return $override;
}
$override(true/false)
Whether to allow the post lock to be overridden.
Default: true
$post(WP_Post)
Post object.
$user(WP_User)
The user with the lock for the post.

Changelog

Since 3.6.0 Introduced.

Where the hook is called

_admin_notice_post_locked()
override_post_lock
wp-admin/includes/post.php 1719
$override = apply_filters( 'override_post_lock', true, $post, $user );

Where in WP core the hook is used

Usage not found!