WordPress at a glance
filter is not described

show_post_locked_dialog filter-hook . WP 3.6.0

Filters whether to show the post locked dialog.

Returning a falsey value to the filter will short-circuit displaying the dialog.

Usage

add_filter( 'show_post_locked_dialog', 'filter_function_name_5796', 10, 3 );
function filter_function_name_5796( $display, $post, $user ){
	// filter...

	return $display;
}
$display(true/false)
Whether to display the dialog.
Default: true
$post(WP_Post)
Post object.
$user(WP_User/true/false)
WP_User object on success, false otherwise.

Changelog

Since 3.6.0 Introduced.

Where the hook is called

_admin_notice_post_locked()
show_post_locked_dialog
wp-admin/includes/post.php 1640
if ( ! apply_filters( 'show_post_locked_dialog', true, $post, $user ) ) {
wp-admin/edit-form-blocks.php 232
if ( apply_filters( 'show_post_locked_dialog', true, $post, $user_id ) ) {

Where the hook is used (in WP core)

Usage not found!