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
529  *
530  * @param object $post
531  */
532 function post_revisions_meta_box($post) {
533      wp_list_post_revisions();
534 }
535 add_meta_box('revisionsdiv', __('Post Revisions'), 'post_revisions_meta_box', 'post', 'normal', 'core');
536 endif;
537
538 do_action('do_meta_boxes', 'post', 'normal', $post);
539 do_action('do_meta_boxes', 'post', 'advanced', $post);
540 do_action('do_meta_boxes', 'post', 'side', $post);
541
542 require_once('admin-header.php');
543
544 ?>
545
546 <?php if ( (isset($mode) && 'bookmarklet' == $mode) || isset($_GET['popupurl']) ): ?>
547 <input type="hidden" name="mode" value="bookmarklet" />
548 <?php endif; ?>
549