WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_check_post_lock_window

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/post.php apply_filters 1660 /**
* Determines whether the post is currently being edited by another user.
*
* @since 2.5.0
*
* @param int|WP_Post $post ID or object of the post to check for editing.
* @return int|false ID of the user with lock. False if the post does not exist, post is not locked,
* the user with lock does not exist, or the post is locked by current user.
*/
wp-admin/includes/ajax-actions.php apply_filters 2907 /**
* Filters the post lock window duration.
*
* @since 3.3.0
*
* @param int $interval The interval in seconds the post lock duration
* should last, plus 5 seconds. Default 150.
*/

Hook Parameters

Parameter Type Name Description
int $interval The interval in seconds the post lock duration