post_lock_lost_dialog action-hookWP 3.6.0

Fires inside the dialog displayed when a user has lost the post lock.

Usage

add_action( 'post_lock_lost_dialog', 'wp_kama_post_lock_lost_dialog_action' );

/**
 * Function for `post_lock_lost_dialog` action-hook.
 * 
 * @param WP_Post $post Post object.
 *
 * @return void
 */
function wp_kama_post_lock_lost_dialog_action( $post ){

	// action...
}
$post(WP_Post)
Post object.

Changelog

Since 3.6.0 Introduced.

Where the hook is called

_admin_notice_post_locked()
post_lock_lost_dialog
wp-admin/includes/post.php 1916
do_action( 'post_lock_lost_dialog', $post );

Where the hook is used in WordPress

Usage not found.