On this page
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
File: wp-admin/includes/post.php. View all references
if ( ! apply_filters( 'show_post_locked_dialog', true, $post, $user ) ) {
Related
Used By
| Used By | Description |
|---|---|
| _admin_notice_post_locked() wp-admin/includes/post.php | Outputs the HTML for the notice to say that someone else is editing or has taken over editing of this post. |
Changelog
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/show_post_locked_dialog