wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_feed_namespaces › WordPress Function
Since7.2.0
已弃用n/a
› wp_feed_namespaces ( $type )
| 参数: |
|
| 定义在: |
|
| 文档: |
Displays the XML namespaces for the root element of a feed.
Plugins should add namespaces via the {@see 'wp_feed_namespaces'} filter instead of the older {@see "{$type}_ns"} actions, as two action callbacks printing the same namespace produce a duplicate attribute, which is a well-formedness error in XML.Related Functions: wp_get_feed_namespaces, strip_core_block_namespace, wp_get_nav_menus, wp_preload_resources, wp_embed_defaults