wp_sitemaps_stylesheet_index_content хук-фильтр . WP 5.5.0
Filters the content of the sitemap index stylesheet.
Использование
add_filter( 'wp_sitemaps_stylesheet_index_content', 'filter_function_name_9740' ); function filter_function_name_9740( $xsl_content ){ // filter... return $xsl_content; }
- $xsl_content(строка)
- Full content for the XML stylesheet.
Список изменений
С версии 5.5.0 | Введена. |
Где вызывается хук
wp_sitemaps_stylesheet_index_content
wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php 248
return apply_filters( 'wp_sitemaps_stylesheet_index_content', $xsl_content );