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

Filter the base URL of the sitemaps.

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

add_filter( 'wpseo_sitemaps_base_url', 'wp_kama_wpseo_sitemaps_base_url_filter' );

/**
 * Function for `wpseo_sitemaps_base_url` filter-hook.
 * 
 * @param string $base The string that should be added to home_url() to make the full base URL.
 *
 * @return string
 */
function wp_kama_wpseo_sitemaps_base_url_filter( $base ){

	// filter...
	return $base;
}
$base(строка)
The string that should be added to home_url() to make the full base URL.

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

WPSEO_Sitemaps_Router::get_base_url()
wpseo_sitemaps_base_url
yoast/inc/sitemaps/class-sitemaps-router.php 153
$base = apply_filters( 'wpseo_sitemaps_base_url', $base );

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

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