Fires after the Save Draft (or Save as Pending) and Preview (or Preview Changes) buttons in the Publish meta box.
Parameters
Source
do_action( 'post_submitbox_minor_actions', $post );
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
Fires after the Save Draft (or Save as Pending) and Preview (or Preview Changes) buttons in the Publish meta box.
do_action( 'post_submitbox_minor_actions', $post );
Version | Description |
---|---|
4.4.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
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.