WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 182 | <ul> |
| 183 | <?php if ($post_ID): ?> |
| 184 | <li><a href="edit.php?p=<?php echo $post_ID ?>"><?php _e('See Comments on this Post') ?></a></li> |
| 185 | <?php endif; ?> |
| 186 | <li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li> |
| 187 | <li><a href="edit.php"><?php _e('Manage All Posts') ?></a></li> |
| 188 | <li><a href="categories.php"><?php _e('Manage All Categories') ?></a></li> |
| 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 | |