Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: submitpost_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
168 <li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
169 <li><a href="edit.php"><?php _e('Manage All Posts') ?></a></li>
170 <li><a href="categories.php"><?php _e('Manage All Categories') ?></a></li>
171 <li><a href="edit-tags.php"><?php _e('Manage All Tags') ?></a></li>
172 <li><a href="edit.php?post_status=draft"><?php _e('View Drafts'); ?></a></li>
173 <?php do_action('post_relatedlinks_list'); ?>
174 </ul>
175 </div>
176
177 <?php do_action('submitpost_box'); ?>
178 </div>
179
180 <div id="post-body">
181 <div id="titlediv">
182 <h3><?php _e('Title') ?></h3>
183 <div id="titlewrap">
184      <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" autocomplete="off" />
185 </div>
186 <div class="inside">