Automattic\WooCommerce\EmailEditor\Engine
Theme_Controller::__construct
Theme_Controller constructor.
Метод класса: Theme_Controller{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Theme_Controller = new Theme_Controller(); $Theme_Controller->__construct();
Код Theme_Controller::__construct() Theme Controller:: construct WC 11.3.0
public function __construct() {
$this->core_theme = WP_Theme_JSON_Resolver::get_core_data();
$this->base_theme = new WP_Theme_JSON( (array) json_decode( (string) file_get_contents( __DIR__ . '/theme.json' ), true ), 'default' );
$this->user_theme = new User_Theme();
$this->site_style_sync_controller = new Site_Style_Sync_Controller();
}