wpseo_sitemap_public_url │ хук-фильтр │ Yoast 1.0

Filter the public URL of the sitemap stylesheet.

Использование

add_filter( 'wpseo_sitemap_public_url', 'wp_kama_wpseo_sitemap_public_url_filter' );

/**
 * Function for `wpseo_sitemap_public_url` filter-hook.
 * 
 * @param string $url The stylesheet URL.
 *
 * @return string
 */
function wp_kama_wpseo_sitemap_public_url_filter( $url ){
	// filter...
	return $url;
}
$url(строка)
The stylesheet URL.

Где вызывается хук

WPSEO_Sitemaps_Renderer::get_stylesheet_url()
wpseo_sitemap_public_url
yoast/inc/sitemaps/class-sitemaps-renderer.php 339
return apply_filters( 'wpseo_sitemap_public_url', home_url( 'main-sitemap.css' ) );

Где используется хук в Yoast SEO

Использование не найдено.