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

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

Parameters Parameters


(WP_Post) Post object.


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

Top ↑

Source Source

File: wp-admin/includes/post.php

View on Trac

Top ↑

Changelog Changelog

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

Top ↑

User Contributed Notes User Contributed Notes

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