Yoast\WP\SEO

Loader::load_integrations()publicYoast 1.0

Loads all registered integrations if their conditionals are met.

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

Хуков нет.

Возвращает

null. Ничего.

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

$Loader = new Loader();
$Loader->load_integrations();

Код Loader::load_integrations() Yoast 20.0

public function load_integrations() {
	foreach ( $this->integrations as $class ) {
		if ( ! $this->conditionals_are_met( $class ) ) {
			continue;
		}

		$integration = $this->get_class( $class );

		if ( $integration === null ) {
			continue;
		}

		$integration->register_hooks();
	}
}