Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: edit_tag_form_pre

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
6  * @subpackage Administration
7  */
9 if ( empty($tag_ID) ) { ?>
10      <div id="message" class="updated fade"><p><strong><?php _e('A tag was not selected for editing.'); ?></strong></p></div>
11 <?php
12      return;
13 }
15 do_action('edit_tag_form_pre', $tag); ?>
17 <div class="wrap">
18 <?php screen_icon(); ?>
19 <h2><?php _e('Edit Tag'); ?></h2>
20 <div id="ajax-response"></div>
21 <form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate">
22 <input type="hidden" name="action" value="editedtag" />
23 <input type="hidden" name="tag_ID" value="<?php echo esc_attr($tag->term_id) ?>" />
24 <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy) ?>" />