get_edit_tag_link( int $tag_id, string $taxonomy = 'post_tag' )
Retrieves the edit link for a tag.
描述
参数
- $tag_id
-
(int)
(Required)
Tag ID. - $taxonomy
-
(string)
(Optional)
Taxonomy slug.Default value: ‘post_tag’
返回值
(string) The edit tag link URL for the given tag.
源代码
File: wp-includes/link-template.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 ) );
}
更新日志
Version | 描述 |
---|---|
2.7.0 | Introduced. |
相关函数
Uses
-
wp-includes/link-template.php:
get_edit_term_link() -
wp-includes/link-template.php:
get_edit_tag_link -
wp-includes/plugin.php:
apply_filters()
你可能对这些文章感兴趣:
- wordpress函数get_the_posts_navigation()用法示例
- wordpress函数get_the_title()用法示例
- wordpress函数get_the_terms()用法示例
- wordpress函数get_the_tags()用法示例
- wordpress函数get_the_taxonomies()用法示例
- wordpress函数get_the_permalink()用法示例
- wordpress函数get_the_password_form()用法示例
- wordpress函数get_the_posts_pagination()用法示例
- wordpress函数get_the_modified_date()用法示例
- wordpress函数get_the_modified_time()用法示例
- wordpress函数get_the_modified_author()用法示例
- wordpress函数get_the_guid()用法示例
- wordpress函数get_the_ID()用法示例
- wordpress函数get_the_generator()用法示例
如有疑问,请前往问答中心反馈!
反馈