Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: do_meta_boxes

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

This hook occurs 3 times in this file.

Line Code
25 require_once('includes/meta-boxes.php');
27 add_meta_box('linksubmitdiv', __('Save'), 'link_submit_meta_box', 'link', 'side', 'core');
28 add_meta_box('linkcategorydiv', __('Categories'), 'link_categories_meta_box', 'link', 'normal', 'core');
29 add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', 'link', 'normal', 'core');
30 add_meta_box('linkxfndiv', __('Link Relationship (XFN)'), 'link_xfn_meta_box', 'link', 'normal', 'core');
31 add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', 'link', 'normal', 'core');
33 do_action('do_meta_boxes', 'link', 'normal', $link);
34 do_action('do_meta_boxes', 'link', 'advanced', $link);
35 do_action('do_meta_boxes', 'link', 'side', $link);
37 require_once ('admin-header.php');
39 ?>
40 <div class="wrap">
41 <?php screen_icon(); ?>
42 <h2><?php echo esc_html( $title ); ?></h2>
44 <?php if ( isset( $_GET['added'] ) ) : ?>