post_submitbox_start action-hook . WP 2.7.0
Fires at the beginning of the publishing actions section of the Publish meta box.
Usage
add_action( 'post_submitbox_start', 'action_function_name_8638' ); function action_function_name_8638( $post ){ // action... }
- $post(WP_Post/null)
- WP_Post object for the current post on Edit Post screen, null on Edit Link screen.
Notes
- Since 4.9.0 Added the
$post
parameter.
Where the hook is called
post_submitbox_start
wp-admin/includes/meta-boxes.php 272
do_action( 'post_submitbox_start', $post );
wp-admin/includes/meta-boxes.php 958
do_action( 'post_submitbox_start', null );