get_edit_tag_link

The timeline below displays how wordpress function get_edit_tag_link has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.9

/**
 * Retrieves the edit link for a tag.
 *
 * @since 2.7.0
 *
 * @param int|WP_Term|object $tag      The ID or term object whose edit link will be retrieved.
 * @param string             $taxonomy Optional. Taxonomy slug. Default 'post_tag'.
 * @return string The edit tag link URL for the given tag.
 */
function get_edit_tag_link($tag, $taxonomy = 'post_tag')
{
    /**
     * Filters the edit link for a tag (or term in another taxonomy).
     *
     * @since 2.7.0
     *
     * @param string $link The term edit link.
     */
    return apply_filters('get_edit_tag_link', get_edit_term_link($tag, $taxonomy));
}

WordPress Version: 4.6

/**
 * Retrieves the edit link for a tag.
 *
 * @since 2.7.0
 *
 * @param int    $tag_id   Tag ID.
 * @param string $taxonomy Optional. Taxonomy slug. Default 'post_tag'.
 * @return string The edit tag link URL for the given tag.
 */
function get_edit_tag_link($tag_id, $taxonomy = 'post_tag')
{
    /**
     * Filters the edit link for a tag (or term in another taxonomy).
     *
     * @since 2.7.0
     *
     * @param string $link The term edit link.
     */
    return apply_filters('get_edit_tag_link', get_edit_term_link($tag_id, $taxonomy));
}

WordPress Version: 4.3

/**
 * Retrieve edit tag link.
 *
 * @since 2.7.0
 *
 * @param int    $tag_id   Tag ID
 * @param string $taxonomy Taxonomy
 * @return string The edit tag link URL for the given tag.
 */
function get_edit_tag_link($tag_id, $taxonomy = 'post_tag')
{
    /**
     * Filter the edit link for a tag (or term in another taxonomy).
     *
     * @since 2.7.0
     *
     * @param string $link The term edit link.
     */
    return apply_filters('get_edit_tag_link', get_edit_term_link($tag_id, $taxonomy));
}

WordPress Version: 4.1

/**
 * Retrieve edit tag link.
 *
 * @since 2.7.0
 *
 * @param int $tag_id Tag ID
 * @param string $taxonomy Taxonomy
 * @return string The edit tag link URL for the given tag.
 */
function get_edit_tag_link($tag_id, $taxonomy = 'post_tag')
{
    /**
     * Filter the edit link for a tag (or term in another taxonomy).
     *
     * @since 2.7.0
     *
     * @param string $link The term edit link.
     */
    return apply_filters('get_edit_tag_link', get_edit_term_link($tag_id, $taxonomy));
}

WordPress Version: 3.9

/**
 * Retrieve edit tag link.
 *
 * @since 2.7.0
 *
 * @param int $tag_id Tag ID
 * @param string $taxonomy Taxonomy
 * @return string
 */
function get_edit_tag_link($tag_id, $taxonomy = 'post_tag')
{
    /**
     * Filter the edit link for a tag (or term in another taxonomy).
     *
     * @since 2.7.0
     *
     * @param string $link The term edit link.
     */
    return apply_filters('get_edit_tag_link', get_edit_term_link($tag_id, $taxonomy));
}

WordPress Version: 3.7

/**
 * Retrieve edit tag link.
 *
 * @since 2.7.0
 *
 * @param int $tag_id Tag ID
 * @param string $taxonomy Taxonomy
 * @return string
 */
function get_edit_tag_link($tag_id, $taxonomy = 'post_tag')
{
    return apply_filters('get_edit_tag_link', get_edit_term_link($tag_id, $taxonomy));
}