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
189 <li><a href="edit-tags.php"><?php _e('Manage All Tags') ?></a></li>
190 <li><a href="edit.php?post_status=draft"><?php _e('View Drafts'); ?></a></li>
191 <?php do_action('post_relatedlinks_list'); ?>
192 </ul>
193
194 <h5><?php _e('Shortcuts') ?></h5>
195 <p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?>  <a href="<?php echo get_shortcut_link(); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
196 </div>
197
198 <?php do_action('submitpost_box'); ?>
199 </div>
200
201 <div id="post-body">
202 <div id="titlediv">
203 <h3><label for="title"><?php _e('Title') ?></label></h3>
204 <div id="titlewrap">
205      <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" autocomplete="off" />
206 </div>
207 <div class="inside">