post_submitbox_start

post_submitbox_start

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('post_submitbox_start') is found 2 times:

  • /wp-admin/includes/meta-boxes.php line 359

    *
    * @param WP_Post|null $post WP_Post object for the current post on Edit Post screen,
    * null on Edit Link screen.
    */
    do_action( ‘post_submitbox_start’, $post );
    ?>

  • /wp-admin/includes/meta-boxes.php line 1131
     
    <div id="major-publishing-actions">
    	<?php
    	/** This action is documented in wp-admin/includes/meta-boxes.php */
    	do_action( 'post_submitbox_start', null );
    	?>
    <div id="delete-action">
    	<?php
    	if ( ! empty( $_GET&#91;'action'&#93; ) && 'edit' === $_GET&#91;'action'&#93; && current_user_can( 'manage_links' ) ) {
    		printf(
    			'<a class="submitdelete deletion" href="%s" onclick="return confirm( \'%s\' );">%s</a>',
    

See this hook used in plugins: