Automattic\WooCommerce\EmailEditor\Engine\Renderer\ContentRenderer

Process_Manager::__constructpublicWC 1.0

Process_Manager constructor.

Метод класса: Process_Manager{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$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) (обязательный)
Cleanup preprocessor.
$blocks_width_preprocessor(Blocks_Width_Preprocessor) (обязательный)
Blocks width preprocessor.
$typography_preprocessor(Typography_Preprocessor) (обязательный)
Typography preprocessor.
$spacing_preprocessor(Spacing_Preprocessor) (обязательный)
Spacing preprocessor.
$quote_preprocessor(Quote_Preprocessor) (обязательный)
Quote preprocessor.
$highlighting_postprocessor(Highlighting_Postprocessor) (обязательный)
Highlighting postprocessor.
$variables_postprocessor(Variables_Postprocessor) (обязательный)
Variables postprocessor.
$border_style_postprocessor(Border_Style_Postprocessor) (обязательный)
Border style postprocessor.

Код Process_Manager::__construct() WC 10.0.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 );
}