post_submitbox_misc_actions
Fires after the post time/date setting in the Publish meta box.
Usage
add_action( 'post_submitbox_misc_actions', 'wp_kama_post_submitbox_misc_actions_action' );
/**
* Function for `post_submitbox_misc_actions` action-hook.
*
* @param WP_Post $post WP_Post object for the current post.
*
* @return void
*/
function wp_kama_post_submitbox_misc_actions_action( $post ){
// action...
}
- $post(WP_Post)
- WP_Post object for the current post.
Changelog
| Since 2.9.0 | Introduced. |
| Since 4.4.0 | Added the $post parameter. |
Where the hook is called
wp-admin/includes/meta-boxes.php 342
do_action( 'post_submitbox_misc_actions', $post );