post_lock_lost_dialog
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
wp-admin/includes/post.php 1939
do_action( 'post_lock_lost_dialog', $post );