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
File: wp-admin/includes/ajax-actions.php
.
View all references
$new_lock = ( time() - apply_filters( 'wp_check_post_lock_window', 150 ) + 5 ) . ':' . $active_lock[1];
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |