WordPress开发者和主题制作者的搜索引擎



get_tag_feed_link ›

Since2.3.0
已弃用n/a
get_tag_feed_link ( $tag_id, $feed = '' )
参数: (2)
  • (int) $tag_id Tag ID.
    Required: Yes
  • (string) $feed Optional. Feed type. Default empty.
    Required: No
    默认: (empty)
返回:
  • (string) The feed permalink for the given tag.
定义在:
文档:

Retrieves the permalink for a tag feed.



源码

function get_tag_feed_link( $tag_id, $feed = '' ) {
	return get_term_feed_link( $tag_id, 'post_tag', $feed );
}