show_post_locked_dialog WordPress Filter Hook
The show_post_locked_dialog hook is used to display a dialog box when a post is locked. The dialog box contains a message and a button to unlock the post.
apply_filters( 'show_post_locked_dialog', bool $display , WP_Post $post , WP_User $user ) #
Filters whether to show the post locked dialog.
Description
Returning false from the filter will prevent the dialog from being displayed.
Parameters
Source
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |