Automattic\WooCommerce\EmailEditor\Engine
Theme_Controller::get_theme
Gets combined theme data from the core and base theme, merged with the user .
Method of the class: Theme_Controller{}
No Hooks.
Returns
WP_Theme_JSON.
Usage
$Theme_Controller = new Theme_Controller(); $Theme_Controller->get_theme(): WP_Theme_JSON;
Theme_Controller::get_theme() Theme Controller::get theme code WC 10.3.6
public function get_theme(): WP_Theme_JSON {
$theme = $this->get_base_theme();
$theme->merge( $this->user_theme->get_theme() );
return $theme;
}