show_post_locked_dialog

Advertisement

Summery Summery

Filters whether to show the post locked dialog.

Syntax Syntax

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

Description Description

Returning false from the filter will prevent the dialog from being displayed.

Parameters Parameters

$display

Whether to display the dialog. Default true.

$post

Post object.

$user

The user with the lock for the post.

Source Source

File: wp-admin/includes/post.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Advertisement

Leave a Reply