wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_sitemaps_stylesheet_url › WordPress过滤钩子

Since5.5.0
已弃用n/a
apply_filters( 'wp_sitemaps_stylesheet_url', $sitemap_url )
参数:
  • (string) $sitemap_url Full URL for the sitemaps XSL file.
    Required: Yes
定义在:
文档:

Filters the URL for the sitemap stylesheet.

If a falsey value is returned, no stylesheet will be used and the "raw" XML of the sitemap will be displayed.





源码

return apply_filters( 'wp_sitemaps_stylesheet_url', $sitemap_url );