show_post_locked_dialog – filter

Filters whether to show the post locked dialog. Returning false from the filter will prevent the dialog from being displayed.

Parameters

.
( 3.6.0 ) . .
( bool ) $display Whether to display the dialog. Default true. . . .
$post
( WP_Post ) Post object. . . .
$user
( WP_User ) The user with the lock for the post. . . .
API Letters: ,,,

Implementers