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