A WordPress-centric search engine for devs and theme authors



wp_check_post_lock_window ›

Since3.3.0
Deprecatedn/a
apply_filters( 'wp_check_post_lock_window', 150 )
Parameters:
  • (int) $interval The interval in seconds the post lock duration should last, plus 5 seconds. Default 150.
    Required: Yes
Defined at:
Codex:

Filters the post lock window duration.





Source

$new_lock = ( time() - apply_filters( 'wp_check_post_lock_window', 150 ) + 5 ) . ':' . $active_lock[1];