Yoast\WP\SEO\Schema_Aggregator\Application\Cache

Xml_Manager::get_cache_keyprivateYoast 1.0

Generate cache key for page.

Метод класса: Xml_Manager{}

Хуков нет.

Возвращает

Строку. Cache key.

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

// private - только в коде основоного (родительского) класса
$result = $this->get_cache_key(): string;

Код Xml_Manager::get_cache_key() Yoast 27.7

private function get_cache_key(): string {
	return \sprintf(
		'%s_xml_sitemap_v%d',
		self::CACHE_PREFIX,
		self::CACHE_VERSION,
	);
}