wp_check_post_lock_window WordPress Filter Hook

The wp_check_post_lock_window hook is used to check if a post is locked by another user. This hook is used to determine whether a post is locked by another user. If the post is locked, the current user will be unable to edit the post.

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 on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More