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.


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

	return $display;
Whether to display the dialog.
Default: true
Post object.
WP_User object on success, false otherwise.


Since 3.6.0 Introduced.

Where the hook is called

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

Where the hook is used (in WP core)

Usage not found!