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



wp_feed_namespaces › Filtr WordPress Hooks

Od7.2.0
Przestarzałyn/a
› apply_filters( 'wp_feed_namespaces', $defaults, $type )
Parametry: (2)
  • () namespaces Array of namespace URIs, keyed by their prefix.
    Wymagane: Tak
  • () type Type of feed. Possible values include 'rss2', 'rss2-comments', 'rdf', 'atom', and 'atom-comments'.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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

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




Źródło

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