wpseo_sitemap_index хук-фильтр . Yoast 1.0
Filter to append sitemaps to the index.
Использование
add_filter( 'wpseo_sitemap_index', 'filter_function_name_7034' ); function filter_function_name_7034( $index ){ // filter... return $index; }
- $index(строка)
- String to append to sitemaps index.
По умолчанию: ''
Где вызывается хук
wpseo_sitemap_index
yoast/inc/sitemaps/class-sitemaps-renderer.php 81
$xml .= apply_filters( 'wpseo_sitemap_index', '' );