WordPress at Your Fingertips
action is not described

post_locked_dialog action-hook . WP 3.6.0

Fires inside the post locked dialog before the buttons are displayed.


add_action( 'post_locked_dialog', 'action_function_name_4178', 10, 2 );
function action_function_name_4178( $post, $user ){
	// action...
Post object.
The user with the lock for the post.


Since 3.6.0 Introduced.
Since 5.4.0 The $user parameter was added.

Where the hook is called

wp-admin/includes/post.php 1797
do_action( 'post_locked_dialog', $post, $user );

Where in WP core the hook is used WordPress

Usage not found.