Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: tag_link

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
3974           /**
3975            * Filters the tag link.
3976            *
3977            * @since 2.3.0
3978            * @deprecated 2.5.0 Use 'term_link' instead.
3979            *
3980            * @param string $termlink Tag link URL.
3981            * @param int    $term_id  Term ID.
3982            */
3983           $termlink = apply_filters( 'tag_link', $termlink, $term->term_id );
3984      } elseif ( 'category' == $taxonomy ) {
3985
3986           /**
3987            * Filters the category link.
3988            *
3989            * @since 1.5.0
3990            * @deprecated 2.5.0 Use 'term_link' instead.
3991            *
3992            * @param string $termlink Category link URL.