Yoast\WP\SEO\Schema_Aggregator\Infrastructure\Elements_Context_Map
Base_Map_Loader{}└─ Map_Loader_Interface
Map loader default implementation.
Хуков нет.
Использование
$Base_Map_Loader = new Base_Map_Loader(); // use class methods
Методы
- public load()
Код Base_Map_Loader{} Base Map Loader{} Yoast 28.3
class Base_Map_Loader implements Map_Loader_Interface {
/**
* Loads the elements-context map.
*
* @return array<array<string, string>> The elements context map.
*/
public function load(): array {
return Default_Elements_Context_Map::get();
}
}