get_edit_tag_link()WP 2.7.0

Retrieves the edit link for a tag.

Хуки из функции

Возвращает

Строку. The edit tag link URL for the given tag.

Использование

get_edit_tag_link( $tag, $taxonomy );
$tag(int|WP_Term|объект) (обязательный)
The ID or term object whose edit link will be retrieved.
$taxonomy(строка)
Taxonomy slug.
По умолчанию: 'post_tag'

Список изменений

С версии 2.7.0 Введена.

Код get_edit_tag_link() WP 6.5.2

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 ) );
}