Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: submitpage_box

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

Line Code
418 <input name="referredby" type="hidden" id="referredby" value="<?php echo clean_url(stripslashes(wp_get_referer())); ?>" />
419 <?php if ( 'draft' != $post->post_status ) wp_original_referer_field(true, 'previous'); ?>
420
421 <div id="poststuff" class="metabox-holder">
422
423 <div id="side-info-column" class="inner-sidebar">
424
425 <?php
426
427 do_action('submitpage_box');
428 $side_meta_boxes = do_meta_boxes('page', 'side', $post);
429
430 ?>
431 </div>
432
433 <div id="post-body" class="<?php echo $side_meta_boxes ? 'has-sidebar' : ''; ?>">
434 <div id="post-body-content" class="has-sidebar-content">
435
436 <div id="titlediv">