Yoast\WP\SEO
Loader::load() public Yoast 1.0
Loads all registered classes if their conditionals are met.
{} Это метод класса: Loader{}
Хуков нет.
Возвращает
null
. Null. Ничего.
Использование
$Loader = new Loader(); $Loader->load();
Код Loader::load() Loader::load Yoast 16.1.1
public function load() {
$this->load_initializers();
if ( ! \did_action( 'init' ) ) {
\add_action( 'init', [ $this, 'load_integrations' ] );
}
else {
$this->load_integrations();
}
\add_action( 'rest_api_init', [ $this, 'load_routes' ] );
if ( \defined( 'WP_CLI' ) && \WP_CLI ) {
$this->load_commands();
}
}