do_meta_boxes

do_meta_boxes

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

See hook in core

Displaying hooks found in version: wordpress-6.1

do_action('do_meta_boxes') is found 8 times:

  • /wp-admin/edit-link-form.php line 49
     */
    do_action( 'add_meta_boxes_link', $link );
    
    /** This action is documented in wp-admin/includes/meta-boxes.php */
    do_action( 'do_meta_boxes', 'link', 'normal', $link );
    /** This action is documented in wp-admin/includes/meta-boxes.php */
    do_action( 'do_meta_boxes', 'link', 'advanced', $link );
    /** This action is documented in wp-admin/includes/meta-boxes.php */
    do_action( 'do_meta_boxes', 'link', 'side', $link );
    
    add_screen_option(
    
  • /wp-admin/edit-link-form.php line 51
     
    /** This action is documented in wp-admin/includes/meta-boxes.php */
    do_action( 'do_meta_boxes', 'link', 'normal', $link );
    /** This action is documented in wp-admin/includes/meta-boxes.php */
    do_action( 'do_meta_boxes', 'link', 'advanced', $link );
    /** This action is documented in wp-admin/includes/meta-boxes.php */
    do_action( 'do_meta_boxes', 'link', 'side', $link );
    
    add_screen_option(
    	'layout_columns',
    	array(
    
  • /wp-admin/edit-link-form.php line 53
    do_action( 'do_meta_boxes', 'link', 'normal', $link );
    /** This action is documented in wp-admin/includes/meta-boxes.php */
    do_action( 'do_meta_boxes', 'link', 'advanced', $link );
    /** This action is documented in wp-admin/includes/meta-boxes.php */
    do_action( 'do_meta_boxes', 'link', 'side', $link );
    
    add_screen_option(
    	'layout_columns',
    	array(
    		'max'     => 2,
    		'default' => 2,
    
  • /wp-admin/includes/dashboard.php line 162
    		exit;
    	}
    
    	/** This action is documented in wp-admin/includes/meta-boxes.php */
    	do_action( 'do_meta_boxes', $screen->id, 'normal', '' );
    
    	/** This action is documented in wp-admin/includes/meta-boxes.php */
    	do_action( 'do_meta_boxes', $screen->id, 'side', '' );
    }
    
    /**
    
  • /wp-admin/includes/dashboard.php line 165
    	/** This action is documented in wp-admin/includes/meta-boxes.php */
    	do_action( 'do_meta_boxes', $screen->id, 'normal', '' );
    
    	/** This action is documented in wp-admin/includes/meta-boxes.php */
    	do_action( 'do_meta_boxes', $screen->id, 'side', '' );
    }
    
    /**
     * Adds a new dashboard widget.
     *
     * @since 2.7.0
    
  • /wp-admin/includes/meta-boxes.php line 1631
    	 * @param string                $context   Meta box context. Possible values include 'normal', 'advanced', 'side'.
    	 * @param WP_Post|object|string $post      Post object on Edit Post screen, link object on Edit Link screen,
    	 *                                         an empty string on Dashboard screen.
    	 */
    	do_action( 'do_meta_boxes', $post_type, 'normal', $post );
    	/** This action is documented in wp-admin/includes/meta-boxes.php */
    	do_action( 'do_meta_boxes', $post_type, 'advanced', $post );
    	/** This action is documented in wp-admin/includes/meta-boxes.php */
    	do_action( 'do_meta_boxes', $post_type, 'side', $post );
    }
    
    
  • /wp-admin/includes/meta-boxes.php line 1633
    	 *                                         an empty string on Dashboard screen.
    	 */
    	do_action( 'do_meta_boxes', $post_type, 'normal', $post );
    	/** This action is documented in wp-admin/includes/meta-boxes.php */
    	do_action( 'do_meta_boxes', $post_type, 'advanced', $post );
    	/** This action is documented in wp-admin/includes/meta-boxes.php */
    	do_action( 'do_meta_boxes', $post_type, 'side', $post );
    }
    
    
    
    
  • /wp-admin/includes/meta-boxes.php line 1635
    	do_action( 'do_meta_boxes', $post_type, 'normal', $post );
    	/** This action is documented in wp-admin/includes/meta-boxes.php */
    	do_action( 'do_meta_boxes', $post_type, 'advanced', $post );
    	/** This action is documented in wp-admin/includes/meta-boxes.php */
    	do_action( 'do_meta_boxes', $post_type, 'side', $post );
    }
    
    
    
    
    
    

See this hook used in plugins: