post_locked_dialog

Advertisement

Summery Summery

Fires inside the post locked dialog before the buttons are displayed.

Syntax Syntax

do_action( 'post_locked_dialog', WP_Post $post, WP_User $user )

Parameters Parameters

$post

(WP_Post) Post object.

$user

(WP_User) The user with the lock for the post.

Source Source

File: wp-admin/includes/post.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.4.0 The $user parameter was added.
3.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.