apply_filters( 'override_post_lock', bool $override, WP_Post $post, WP_User $user )

Filters whether to allow the post lock to be overridden.

Description Description

Returning a falsey value to the filter will disable the ability to override the post lock.

Parameters Parameters


(bool) Whether to allow overriding post locks. Default true.


(WP_Post) Post object.


(WP_User) User object.

Top ↑

Source Source

File: wp-admin/includes/post.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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