MailPoet\EmailEditor\Engine\Renderer\ContentRenderer

Content_Renderer::preprocess_parsed_blocks()publicWC 1.0

Preprocess parsed blocks

Method of the class: Content_Renderer{}

No Hooks.

Return

Array.

Usage

$Content_Renderer = new Content_Renderer();
$Content_Renderer->preprocess_parsed_blocks( $parsed_blocks ): array;
$parsed_blocks(array) (required)
Parsed blocks.

Content_Renderer::preprocess_parsed_blocks() code WC 9.8.1

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() );
}