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 false from the filter will prevent the dialog from being displayed.


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

	return $display;
Whether to display the dialog.
Default: true
Post object.
The user with the lock for the post.


Since 3.6.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.