Uses
| Uses | Description |
|---|---|
| wp-includes/link-template.php: get_term_feed_link() | Retrieves the feed link for a term. |
Retrieves the permalink for a tag feed.
(int) (Required) Tag ID.
(string) (Optional) Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().
Default value: ''
(string) The feed permalink for the given tag.
File: wp-includes/link-template.php
function get_tag_feed_link( $tag_id, $feed = '' ) {
return get_term_feed_link( $tag_id, 'post_tag', $feed );
} | Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_tag_feed_link