Automattic\WooCommerce\EmailEditor\Engine\Renderer\ContentRenderer\Preprocessors
Quote_Preprocessor::preprocess
Method to preprocess the content before rendering
Method of the class: Quote_Preprocessor{}
No Hooks.
Returns
Array
.
Usage
$Quote_Preprocessor = new Quote_Preprocessor(); $Quote_Preprocessor->preprocess( $parsed_blocks, $layout, $styles ): array;
- $parsed_blocks(array) (required)
- Parsed blocks of the email.
- $layout(array) (required)
- .
- $styles(array) (required)
- .
Quote_Preprocessor::preprocess() Quote Preprocessor::preprocess code WC 9.9.5
public function preprocess( array $parsed_blocks, array $layout, array $styles ): array { return $this->process_blocks( $parsed_blocks, $styles ); }