Automattic\WooCommerce\EmailEditor\Engine\Renderer\ContentRenderer
Process_Manager::__construct
Process_Manager constructor.
Method of the class: Process_Manager{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Process_Manager = new Process_Manager(); $Process_Manager->__construct( $cleanup_preprocessor, $blocks_width_preprocessor, $typography_preprocessor, $spacing_preprocessor, $quote_preprocessor, $highlighting_postprocessor, $variables_postprocessor, $border_style_postprocessor );
- $cleanup_preprocessor(Cleanup_Preprocessor) (required)
- Cleanup preprocessor.
- $blocks_width_preprocessor(Blocks_Width_Preprocessor) (required)
- Blocks width preprocessor.
- $typography_preprocessor(Typography_Preprocessor) (required)
- Typography preprocessor.
- $spacing_preprocessor(Spacing_Preprocessor) (required)
- Spacing preprocessor.
- $quote_preprocessor(Quote_Preprocessor) (required)
- Quote preprocessor.
- $highlighting_postprocessor(Highlighting_Postprocessor) (required)
- Highlighting postprocessor.
- $variables_postprocessor(Variables_Postprocessor) (required)
- Variables postprocessor.
- $border_style_postprocessor(Border_Style_Postprocessor) (required)
- Border style postprocessor.
Process_Manager::__construct() Process Manager:: construct code WC 10.6.2
public function __construct(
Cleanup_Preprocessor $cleanup_preprocessor,
Blocks_Width_Preprocessor $blocks_width_preprocessor,
Typography_Preprocessor $typography_preprocessor,
Spacing_Preprocessor $spacing_preprocessor,
Quote_Preprocessor $quote_preprocessor,
Highlighting_Postprocessor $highlighting_postprocessor,
Variables_Postprocessor $variables_postprocessor,
Border_Style_Postprocessor $border_style_postprocessor
) {
$this->register_preprocessor( $cleanup_preprocessor );
$this->register_preprocessor( $blocks_width_preprocessor );
$this->register_preprocessor( $typography_preprocessor );
$this->register_preprocessor( $spacing_preprocessor );
$this->register_preprocessor( $quote_preprocessor );
$this->register_postprocessor( $highlighting_postprocessor );
$this->register_postprocessor( $border_style_postprocessor );
$this->register_postprocessor( $variables_postprocessor );
}