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 |
---|---|
531 | /** |
532 | * Fires at the end of the Add Term form for all taxonomies. |
533 | * |
534 | * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. |
535 | * |
536 | * @since 3.0.0 |
537 | * |
538 | * @param string $taxonomy The taxonomy slug. |
539 | */ |
540 | do_action( "{$taxonomy}_add_form", $taxonomy ); |
541 | ?> |
542 | </form></div> |
543 | <?php } |
544 |
|
545 | if ( ! is_null( $tax->labels->popular_items ) ) { |
546 | if ( current_user_can( $tax->cap->edit_terms ) ) { |
547 | $tag_cloud = wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'post_type' => $post_type, 'echo' => false, 'link' => 'edit' ) ); |
548 | } else { |
549 | $tag_cloud = wp_tag_cloud( array( 'taxonomy' => $taxonomy, 'echo' => false ) ); |