检索标记的编辑链接。
原型
get_edit_tag_link( int $tag_id, string $taxonomy = 'post_tag' )
参数
$tag_id
(int)
(Required)
标签ID。
$taxonomy
(string)
(Optional)
分类标本。
返回值
(string)
给定标记的编辑标记链接URL。
源文件
路径:wp-includes/link-template.php
<?php
...
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 ) );
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/get_edit_tag_link/