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

Filters whether to show the post locked dialog.

Description Description

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

Parameters Parameters


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


(WP_Post) Post object.


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

Top ↑

Source Source

File: wp-admin/includes/post.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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