WordPress开发者和主题制作者的搜索引擎



wp_check_post_lock_window ›

Since3.3.0
已弃用n/a
apply_filters( 'wp_check_post_lock_window', 150 )
参数:
  • (int) $interval The interval in seconds the post lock duration should last, plus 5 seconds. Default 150.
    Required: Yes
定义在:
文档:

Filters the post lock window duration.





源码

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