Automattic\WooCommerce\EmailEditor\Integrations\Core\Renderer\Blocks
Abstract_Block_Renderer::compile_css
Compile objects containing CSS properties to a string.
Method of the class: Abstract_Block_Renderer{}
No Hooks.
Returns
String.
Usage
// protected - for code of main (parent) or child class $result = $this->compile_css( ...$styles ): string;
- ...$styles(array) (required)
- Style arrays to compile.
Abstract_Block_Renderer::compile_css() Abstract Block Renderer::compile css code WC 10.5.0
protected function compile_css( ...$styles ): string {
return WP_Style_Engine::compile_css( array_merge( ...$styles ), '' );
}