MailPoet\EmailEditor\Engine

Theme_Controller::get_base_theme()publicWC 1.0

Gets combined theme data from the core and base theme.

Method of the class: Theme_Controller{}

Hooks from the method

Return

WP_Theme_JSON.

Usage

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

Theme_Controller::get_base_theme() code WC 9.8.2

public function get_base_theme(): WP_Theme_JSON {
	$theme = new WP_Theme_JSON();
	$theme->merge( $this->core_theme );
	$theme->merge( $this->base_theme );

	return apply_filters( 'mailpoet_email_editor_theme_json', $theme );
}