wp_sitemaps_stylesheet_content

过滤钩子


apply_filters( 'wp_sitemaps_stylesheet_content', $xsl_content )
参数
  • (string)
    $xsl_content
    Full content for the XML stylesheet.
    Required:
定义位置
  • wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php
    , line 151
引入
5.5.0
弃用

Filters the content of the sitemap stylesheet.

return apply_filters( 'wp_sitemaps_stylesheet_content', $xsl_content );