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
148 <ul>
149 <?php if ($post_ID): ?>
150 <li><a href="edit-pages.php?page_id=<?php echo $post_ID ?>"><?php _e('See Comments on this Page') ?></a></li>
151 <?php endif; ?>
152 <li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
153 <li><a href="edit-pages.php"><?php _e('Manage All Pages') ?></a></li>
154 <?php do_action('page_relatedlinks_list'); ?>
155 </ul>
156 </div>
157 <?php do_action('submitpage_box'); ?>
158 </div>
160 <div id="post-body">
161 <div id="titlediv">
162 <h3><?php _e('Title') ?></h3>
163 <div id="titlewrap">
164   <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" autocomplete="off" />
165 </div>
166 <div class="inside">