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



wp_feed_namespaces › Les Filtres WordPress

Depuis7.2.0
Dépréciéen/a
› apply_filters( 'wp_feed_namespaces', $defaults, $type )
Paramètres: (2)
  • () namespaces Array of namespace URIs, keyed by their prefix.
    Requis: Oui
  • () type Type of feed. Possible values include 'rss2', 'rss2-comments', 'rdf', 'atom', and 'atom-comments'.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the XML namespaces of a feed's root element.

Namespaces are keyed by their prefix, which makes duplicate `xmlns` attributes impossible.




Source

$namespaces = apply_filters( 'wp_feed_namespaces', $defaults, $type );