wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_tag_feed_link › WordPress Function

Depuis2.3.0
Dépréciéen/a
get_tag_feed_link ( $tag, $feed = '' )
Paramètres: (2)
  • (int|WP_Term|object) $tag The ID or term object whose feed link will be retrieved.
    Requis: Oui
  • (string) $feed Optional. Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().
    Requis: Non
    Défaut: (vide)
Retourne:
  • (string) The feed permalink for the given tag.
Défini(e) dans:
Codex:

Retrieves the permalink for a tag feed.



Source

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