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 a falsey value to the filter will disable the ability to override the post lock.


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

	return $override;
Whether to allow overriding post locks.
Default: true
Post object.
User object.


Since 3.6.0 Introduced.

Where the hook is called

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

Where the hook is used (in WP core)

Usage not found!