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