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.

Top ↑

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];


Top ↑

Changelog

Changelog
Version Description
3.3.0 Introduced.

Top ↑

User Contributed Notes

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