Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks
Abstract_Block_Renderer::compile_css
Compile objects containing CSS properties to a string.
Метод класса: Abstract_Block_Renderer{}
Хуков нет.
Возвращает
string.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->compile_css( ...$styles ): string;
- ...$styles(массив) (обязательный)
- Style arrays to compile.
Код Abstract_Block_Renderer::compile_css() Abstract Block Renderer::compile css WC 11.1.2
protected function compile_css( ...$styles ): string {
return WP_Style_Engine::compile_css( array_merge( ...$styles ), '' );
}