apply_filters( ‘wp_check_post_lock_window’, int $interval )

In this article

Filters the post lock window duration.

Parameters

$intervalint
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

VersionDescription
3.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.