WPSEO_Admin_Pages::__construct()publicYoast 1.0

Class constructor, which basically only hooks the init function on the init hook.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$WPSEO_Admin_Pages = new WPSEO_Admin_Pages();
$WPSEO_Admin_Pages->__construct();

Код WPSEO_Admin_Pages::__construct() Yoast 23.0

public function __construct() {
	add_action( 'init', [ $this, 'init' ], 20 );

	$this->asset_manager = new WPSEO_Admin_Asset_Manager();
}