do_meta_boxes

This action is documented in wp-admin/edit-form-advanced.php.

Description

do_action( 'do_meta_boxes', (unknown) $link, (string) $normal, (unknown) $link ); 

Parameters (3)

0. $link (string) => 'link'
The link.
1. $normal (string) => 'normal'
The normal.
2. $link (unknown)
The link.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'do_meta_boxes', $link, $normal, $link ); 
The following example is for adding a hook callback.
  1. // define the do_meta_boxes callback 
  2. function action_do_meta_boxes( $link, $normal, $link ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'do_meta_boxes', 'action_do_meta_boxes', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'do_meta_boxes', 'action_do_meta_boxes', 10, 3 ); 

Defined (8)

The action is defined in the following location(s).

/wp-admin/edit-link-form.php  
  1. do_action( 'do_meta_boxes', 'link', 'normal', $link ); 
  1. do_action( 'do_meta_boxes', 'link', 'advanced', $link ); 
  1. do_action( 'do_meta_boxes', 'link', 'side', $link ); 
/wp-admin/edit-form-advanced.php  
  1. do_action( 'do_meta_boxes', $post_type, 'normal', $post ); 
  1. do_action( 'do_meta_boxes', $post_type, 'advanced', $post ); 
  1. do_action( 'do_meta_boxes', $post_type, 'side', $post ); 
/wp-admin/includes/dashboard.php  
  1. do_action( 'do_meta_boxes', $screen->id, 'normal', '' ); 
  1. do_action( 'do_meta_boxes', $screen->id, 'side', '' );