WordPress at a glance
action is not described

do_meta_boxes action-hook . WP 3.0.0

Fires after meta boxes have been added.

Fires once for each of the default meta box contexts: normal, advanced, and side.

Usage

add_action( 'do_meta_boxes', 'action_function_name_3721', 10, 3 );
function action_function_name_3721( $post_type, $context, $post ){
	// action...
}
$post_type(string)
Post type of the post on Edit Post screen, 'link' on Edit Link screen, 'dashboard' on Dashboard screen.
$context(string)
Meta box context. Possible values include 'normal', 'advanced', 'side'.
$post(WP_Post/object/string)
Post object on Edit Post screen, link object on Edit Link screen, an empty string on Dashboard screen.

Список изменений

С версии 3.0.0 Введена.

Где вызывается хук

register_and_do_post_meta_boxes()
do_meta_boxes
wp_dashboard_setup()
do_meta_boxes
wp-admin/includes/meta-boxes.php 1604
do_action( 'do_meta_boxes', $post_type, 'normal', $post );
wp-admin/includes/meta-boxes.php 1606
do_action( 'do_meta_boxes', $post_type, 'advanced', $post );
wp-admin/includes/meta-boxes.php 1608
do_action( 'do_meta_boxes', $post_type, 'side', $post );
wp-admin/includes/dashboard.php 150
do_action( 'do_meta_boxes', $screen->id, 'normal', '' );
wp-admin/includes/dashboard.php 153
do_action( 'do_meta_boxes', $screen->id, 'side', '' );
wp-admin/edit-link-form.php 49
do_action( 'do_meta_boxes', 'link', 'normal', $link );
wp-admin/edit-link-form.php 51
do_action( 'do_meta_boxes', 'link', 'advanced', $link );
wp-admin/edit-link-form.php 53
do_action( 'do_meta_boxes', 'link', 'side', $link );

Где используется хук в ядре WP

Использование не найдено.