Yoast\WP\SEO
Main::load() public Yoast 1.0
Loads the plugin.
{} Это метод класса: Main{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$Main = new Main(); $Main->load();
Код Main::load() Main::load Yoast 15.6.2
public function load() {
if ( $this->container ) {
return;
}
try {
$this->container = $this->get_container();
if ( ! $this->container ) {
return;
}
$this->container->get( Loader::class )->load();
} catch ( Exception $e ) {
if ( $this->is_development() ) {
throw $e;
}
// Don't crash the entire site, simply don't load.
// TODO: Add error notifications here.
}
}