Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: get_edit_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
651  * Retrieve edit tag link.
652  *
653  * @since 2.7.0
654  *
655  * @param int $tag_id Tag ID
656  * @param string $taxonomy Taxonomy
657  * @return string
658  */
659 function get_edit_tag_link( $tag_id, $taxonomy = 'post_tag' ) {
660      return apply_filters( 'get_edit_tag_link', get_edit_term_link( $tag_id, $taxonomy ) );
661 }
662
663 /**
664  * Display or retrieve edit tag link with formatting.
665  *
666  * @since 2.7.0
667  *
668  * @param string $link Optional. Anchor text.
669  * @param string $before Optional. Display before edit link.