wp_check_post_lock_window WordPress Filter Hook
The wp_check_post_lock_window hook is used to check if a post is locked by another user. This hook is used to determine whether a post is locked by another user. If the post is locked, the current user will be unable to edit the post.
apply_filters( 'wp_check_post_lock_window', int $interval ) #
Filters the post lock window duration.
Parameters
- $interval
(int)The interval in seconds the post lock duration should last, plus 5 seconds. Default 150.
Source
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |