Automattic\WooCommerce\EmailEditor\Engine
Theme_Controller::get_stylesheet_from_context
Get stylesheet from context.
Метод класса: Theme_Controller{}
Хуков нет.
Возвращает
string.
Использование
$Theme_Controller = new Theme_Controller(); $Theme_Controller->get_stylesheet_from_context( $context, $options ): string;
- $context(строка) (обязательный)
- Context.
- $options(массив)
- Options.
По умолчанию:array()
Код Theme_Controller::get_stylesheet_from_context() Theme Controller::get stylesheet from context WC 11.2.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 );
}