wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_tag_feed_link › WordPress Function

Da2.3.0
Deprecaton/a
get_tag_feed_link ( $tag, $feed = '' )
Parametri: (2)
  • (int|WP_Term|object) $tag The ID or term object whose feed link will be retrieved.
    Richiesto:
  • (string) $feed Optional. Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().
    Richiesto: No
    Default: (vuoto)
Ritorna:
  • (string) The feed permalink for the given tag.
Definito a:
Codex:

Retrieves the permalink for a tag feed.



Sorgenti

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