wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_tag_feed_link › WordPress Function

Od2.3.0
Przestarzałyn/a
get_tag_feed_link ( $tag, $feed = '' )
Parametry: (2)
  • (int|WP_Term|object) $tag The ID or term object whose feed link will be retrieved.
    Wymagane: Tak
  • (string) $feed Optional. Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().
    Wymagane: Nie
    Domyślny: (puste)
Powrót:
  • (string) The feed permalink for the given tag.
Zdefiniowane na:
Codex:

Retrieves the permalink for a tag feed.



Źródło

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