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 |
---|---|
325 |
|
326 | <br class="clear" /> |
327 | </div> |
328 |
|
329 | <br class="clear" /> |
330 | </form> |
331 |
|
332 | <?php if ( 'category' == $taxonomy ) : ?> |
333 | <div class="form-wrap"> |
334 | <p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category <strong>%s</strong>.'), apply_filters('the_category', get_cat_name(get_option('default_category')))) ?></p> |
335 | <?php if ( current_user_can( 'import' ) ) : ?> |
336 | <p><?php printf(__('Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.'), 'import.php') ?></p> |
337 | <?php endif; ?> |
338 | </div> |
339 | <?php elseif ( 'post_tag' == $taxonomy && current_user_can( 'import' ) ) : ?> |
340 | <div class="form-wrap"> |
341 | <p><?php printf(__('Tags can be selectively converted to categories using the <a href="%s">tag to category converter</a>'), 'import.php') ;?>.</p> |
342 | </div> |
343 | <?php endif; |