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.


Top ↑

Parameters

$display bool
Whether to display the dialog. Default true.
$post WP_Post
Post object.
$user WP_User
The user with the lock for the post.

Top ↑

Source

File: wp-admin/includes/post.php. View all references

if ( ! apply_filters( 'show_post_locked_dialog', true, $post, $user ) ) {


Top ↑

Changelog

Changelog
Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.