Automattic\WooCommerce\EmailEditor\Engine
Theme_Controller::__construct
Theme_Controller constructor.
Method of the class: Theme_Controller{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Theme_Controller = new Theme_Controller(); $Theme_Controller->__construct();
Theme_Controller::__construct() Theme Controller:: construct code WC 10.5.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();
}