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
$new_lock = ( time() - apply_filters( 'wp_check_post_lock_window', 150 ) + 5 ) . ':' . $active_lock[1];
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.