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



wp_feed_namespaces › WordPress Filter Hooks

Da7.2.0
Deprecaton/a
› apply_filters( 'wp_feed_namespaces', $defaults, $type )
Parametri: (2)
  • () namespaces Array of namespace URIs, keyed by their prefix.
    Richiesto: Sì
  • () type Type of feed. Possible values include 'rss2', 'rss2-comments', 'rdf', 'atom', and 'atom-comments'.
    Richiesto: Sì
Definito a:
Codex:

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

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




Sorgenti

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