apply_filters( 'show_post_locked_dialog', bool $display, WP_Post $post, WP_User|bool $user )

Filters whether to show the post locked dialog.


Description

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


Parameters

$display

(bool) Whether to display the dialog. Default true.

$post

(WP_Post) Post object.

$user

(WP_User|bool) WP_User object on success, false otherwise.


Source

File: wp-admin/includes/post.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.6.0 Introduced.