MailPoet\EmailEditor\Engine

Theme_Controller::get_theme()publicWC 1.0

Gets combined theme data from the core and base theme, merged with the user .

Method of the class: Theme_Controller{}

No Hooks.

Return

WP_Theme_JSON.

Usage

$Theme_Controller = new Theme_Controller();
$Theme_Controller->get_theme(): WP_Theme_JSON;

Theme_Controller::get_theme() code WC 9.8.1

public function get_theme(): WP_Theme_JSON {
	$theme = $this->get_base_theme();
	$theme->merge( $this->user_theme->get_theme() );

	return $theme;
}