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 |
---|---|
238 | </div> |
239 |
|
240 | </div> |
241 | </div><!-- /col-right --> |
242 |
|
243 | <div id="col-left"> |
244 | <div class="col-wrap"> |
245 |
|
246 | <?php if ( current_user_can('manage_categories') ) { ?> |
247 | <?php $category = (object) array(); $category->parent = 0; do_action('add_category_form_pre', $category); ?> |
248 |
|
249 | <div class="form-wrap"> |
250 | <h3><?php _e('Add Category'); ?></h3> |
251 | <div id="ajax-response"></div> |
252 | <form name="addcat" id="addcat" method="post" action="categories.php" class="add:the-list: validate"> |
253 | <input type="hidden" name="action" value="addcat" /> |
254 | <?php wp_original_referer_field(true, 'previous'); wp_nonce_field('add-category'); ?> |
255 |
|
256 | <div class="form-field form-required"> |