do_action( ‘post_locked_dialog’, WP_Post $post, WP_User $user )

In this article

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

Parameters

$postWP_Post
Post object.
$userWP_User
The user with the lock for the post.

Source

do_action( 'post_locked_dialog', $post, $user );

Changelog

VersionDescription
5.4.0The $user parameter was added.
3.6.0Introduced.

User Contributed Notes

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