Filters the URL for the sitemap index stylesheet. If a falsey value is returned, no stylesheet will be used and the "raw" XML of the sitemap index will be displayed.
$sitemap_url
Sortie :
@param string $sitemap_url Full URL for the sitemaps index XSL file.
// Modifier la valeur avec le filtre 'wp_sitemaps_stylesheet_index_url'
add_filter('wp_sitemaps_stylesheet_index_url', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($sitemap_url) {
// Modifier la valeur
return $sitemap_url;
}
Chargement des actualités...