Yoast\WP\SEO\Schema_Aggregator\User_Interface

Schemamap_Xml_Rewrite_Integration::get_conditionalspublic staticYoast 1.0

Returns the conditionals for this integration.

The front end conditional keeps the rewrite rule out of admin requests, where the schema map is never served. It also means the rule is absent while Yoast SEO is being deactivated, so no equivalent of the Deactivating_Yoast_Seo_Conditional guard in WPSEO_Sitemaps_Router is needed.

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

Хуков нет.

Возвращает

array<string>. The conditionals that must be met to load this.

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

$result = Schemamap_Xml_Rewrite_Integration::get_conditionals();

Код Schemamap_Xml_Rewrite_Integration::get_conditionals() Yoast 28.4

public static function get_conditionals() {
	return [ Schema_Aggregator_Conditional::class, Front_End_Conditional::class ];
}