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
490  *
491  * @param object $post
492  */
493 function post_revisions_meta_box($post) {
494      wp_list_post_revisions();
495 }
496 add_meta_box('revisionsdiv', __('Post Revisions'), 'post_revisions_meta_box', 'post', 'normal', 'core');
497 endif;
498
499 do_action('do_meta_boxes', 'post', 'normal', $post);
500 do_action('do_meta_boxes', 'post', 'advanced', $post);
501 do_action('do_meta_boxes', 'post', 'side', $post);
502
503 require_once('admin-header.php');
504
505 ?>
506
507 <?php if ( (isset($mode) && 'bookmarklet' == $mode) || isset($_GET['popupurl']) ): ?>
508 <input type="hidden" name="mode" value="bookmarklet" />
509 <?php endif; ?>
510