MailPoet\EmailEditor\Engine

Theme_Controller::get_stylesheet_from_context()publicWC 1.0

Get stylesheet from context.

Method of the class: Theme_Controller{}

No Hooks.

Return

String.

Usage

$Theme_Controller = new Theme_Controller();
$Theme_Controller->get_stylesheet_from_context( $context, $options ): string;
$context(string) (required)
Context.
$options(array)
Options.
Default: array()

Theme_Controller::get_stylesheet_from_context() code WC 9.8.1

public function get_stylesheet_from_context( $context, $options = array() ): string {
	return function_exists( 'gutenberg_style_engine_get_stylesheet_from_context' ) ? gutenberg_style_engine_get_stylesheet_from_context( $context, $options ) : wp_style_engine_get_stylesheet_from_context( $context, $options );
}