MailPoet\EmailEditor\Engine\Renderer\ContentRenderer\Preprocessors
Preprocessor::preprocess()
Method to preprocess the content before rendering
Method of the class: Preprocessor{}
No Hooks.
Return
Array
.
Usage
$Preprocessor = new Preprocessor(); $Preprocessor->preprocess( $parsed_blocks, $layout, $styles ): array;
- $parsed_blocks(array) (required)
- Parsed blocks of the email.
- $layout(array) (required)
- -
- $styles(array) (required)
- -
Preprocessor::preprocess() Preprocessor::preprocess code WC 9.8.1
public function preprocess( array $parsed_blocks, array $layout, array $styles ): array;