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 |
---|---|
579 | * |
580 | * @param unknown_type $tag |
581 | * @param unknown_type $class |
582 | * @return unknown |
583 | */ |
584 | function _tag_row( $tag, $class = '' ) { |
585 | $count = number_format_i18n( $tag->count ); |
586 | $count = ( $count > 0 ) ? "<a href='edit.php?tag=$tag->slug'>$count</a>" : $count; |
587 |
|
588 | $name = apply_filters( 'term_name', $tag->name ); |
589 | $qe_data = get_term($tag->term_id, 'post_tag', object, 'edit'); |
590 | $edit_link = "edit-tags.php?action=edit&tag_ID=$tag->term_id"; |
591 | $out = ''; |
592 | $out .= '<tr id="tag-' . $tag->term_id . '"' . $class . '>'; |
593 | $columns = get_column_headers('edit-tags'); |
594 | $hidden = get_hidden_columns('edit-tags'); |
595 | foreach ( $columns as $column_name => $column_display_name ) { |
596 | $class = "class=\"$column_name column-$column_name\""; |
597 |
|