wpseek.com
A WordPress-centric search engine for devs and theme authors



post_locked_dialog › WordPress Action Hooks

Since5.4.0
Deprecatedn/a
do_action( 'post_locked_dialog', $post, $user )
Parameters: (2)
  • (WP_Post) $post Post object.
    Required: Yes
  • (WP_User) $user The user with the lock for the post.
    Required: Yes
Defined at:
Codex:

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





Source

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