WordPress как на ладони
wordpress jino
событие не описано

post_locked_dialog хук-событие . WP 3.6.0

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

Использование

add_action( 'post_locked_dialog', 'action_function_name_4669' );
function action_function_name_4669( $post ){
	// action...
}
$post(WP_Post)
Post object.

Связи хука

Используется в: _admin_notice_post_locked()

Остальные хуки из: _admin_notice_post_locked():

Кусок кода с хуком

Фрагмент из: wp-admin/includes/post.php WP 4.9
...
				printf( __( '%s is already editing this post. Do you want to take over?' ), esc_html( $user->display_name ) );
			} else {
				/* translators: %s: user's display name */
				printf( __( '%s is already editing this post.' ), esc_html( $user->display_name ) );
			}
		?>
		</p>
		<?php
		/**
		 * Fires inside the post locked dialog before the buttons are displayed.
		 *
		 * @since 3.6.0
		 *
		 * @param WP_Post $post Post object.
		 */
		do_action( 'post_locked_dialog', $post );
		?>
		<p>
		<a class="button" href="<?php echo esc_url( $sendback ); ?>"><?php echo $sendback_text; ?></a>
		<?php if ( $preview_link ) { ?>
		<a class="button<?php echo $tab_last; ?>" href="<?php echo esc_url( $preview_link ); ?>"><?php _e('Preview'); ?></a>
		<?php
		}

		// Allow plugins to prevent some users overriding the post lock
		if ( $override ) {
			?>
			<a class="button button-primary wp-tab-last" href="<?php echo esc_url( add_query_arg( 'get-post-lock', '1', wp_nonce_url( get_edit_post_link( $post->ID, 'url' ), 'lock-post_' . $post->ID ) ) ); ?>"><?php _e('Take over'); ?></a>
			<?php
		}

...