Automattic\WooCommerce\EmailEditor\Engine\Renderer\ContentRenderer
Content_Renderer::preprocess_parsed_blocks
Preprocess parsed blocks
Метод класса: Content_Renderer{}
Хуков нет.
Возвращает
Массив
.
Использование
$Content_Renderer = new Content_Renderer(); $Content_Renderer->preprocess_parsed_blocks( $parsed_blocks ): array;
- $parsed_blocks(массив) (обязательный)
- Parsed blocks.
Код Content_Renderer::preprocess_parsed_blocks() Content Renderer::preprocess parsed blocks WC 10.0.2
public function preprocess_parsed_blocks( array $parsed_blocks ): array { return $this->process_manager->preprocess( $parsed_blocks, $this->theme_controller->get_layout_settings(), $this->theme_controller->get_styles() ); }