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
377  *
378  * @param object $post
379  */
380 function page_revisions_meta_box($post) {
381      wp_list_post_revisions();
382 }
383 add_meta_box('revisionsdiv', __('Page Revisions'), 'page_revisions_meta_box', 'page', 'normal', 'core');
384 endif;
385
386 do_action('do_meta_boxes', 'page', 'normal', $post);
387 do_action('do_meta_boxes', 'page', 'advanced', $post);
388 do_action('do_meta_boxes', 'page', 'side', $post);
389
390 require_once('admin-header.php');
391 ?>
392
393 <div class="wrap">
394 <?php screen_icon(); ?>
395 <h2><?php echo wp_specialchars( $title ); ?></h2>
396
397 <form name="post" action="page.php" method="post" id="post">