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
848  */
849 function get_edit_tag_link( $tag_id, $taxonomy = 'post_tag' ) {
850      /**
851       * Filter the edit link for a tag (or term in another taxonomy).
852       *
853       * @since 2.7.0
854       *
855       * @param string $link The term edit link.
856       */
857      return apply_filters( 'get_edit_tag_link', get_edit_term_link( $tag_id, $taxonomy ) );
858 }
859
860 /**
861  * Display or retrieve edit tag link with formatting.
862  *
863  * @since 2.7.0
864  *
865  * @param string $link Optional. Anchor text.
866  * @param string $before Optional. Display before edit link.