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 |
---|---|
588 |
|
589 | <?php if ( 'category' == $taxonomy ) : ?> |
590 | <div class="form-wrap edit-term-notes"> |
591 | <p> |
592 | <?php |
593 | printf( |
594 | /* translators: %s: Default category. */ |
595 | __( '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 default category %s. The default category cannot be deleted.' ), |
596 | /** This filter is documented in wp-includes/category-template.php */ |
597 | '<strong>' . apply_filters( 'the_category', get_cat_name( get_option( 'default_category' ) ), '', '' ) . '</strong>' |
598 | ); |
599 | ?> |
600 | </p> |
601 | <?php if ( current_user_can( 'import' ) ) : ?> |
602 | <p> |
603 | <?php |
604 | printf( |
605 | /* translators: %s: URL to Categories to Tags Converter tool. */ |
606 | __( 'Categories can be selectively converted to tags using the <a href="%s">category to tag converter</a>.' ), |