do_action( ‘post_submitbox_minor_actions’, WP_Post $post )

Fires after the Save Draft (or Save as Pending) and Preview (or Preview Changes) buttons in the Publish meta box.

Parameters

$postWP_Post
WP_Post object for the current post.

Source

do_action( 'post_submitbox_minor_actions', $post );

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

  1. Skip to note 2 content

    This action does not fire “before the post time/date setting in the Publish meta box.”. It fires before _everyting_ in the Publish DIV box:
    – before the visibility settings,
    – before the status
    – before the revisions.

    The time/time settings come only _after_ all those other settings. So the Code doc is wrong, and can mislead users to think they may use this Hook to hook in right after revisions but right before time/date. They can’t.

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