MailPoet\EmailEditor\Integrations\Core\Renderer\Blocks

Abstract_Block_Renderer::compile_css()protectedWC 1.0

Compile objects containing CSS properties to a string.

Method of the class: Abstract_Block_Renderer{}

No Hooks.

Return

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() code WC 9.8.1

protected function compile_css( ...$styles ): string {
	return WP_Style_Engine::compile_css( array_merge( ...$styles ), '' );
}