Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: term_name

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

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&amp;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