Automattic\WooCommerce\Internal\EmailEditor

BlockEmailRenderer::__constructpublicWC 1.0

Constructor.

Method of the class: BlockEmailRenderer{}

No Hooks.

Returns

null. Nothing (null).

Usage

$BlockEmailRenderer = new BlockEmailRenderer();
$BlockEmailRenderer->__construct();

BlockEmailRenderer::__construct() code WC 10.3.6

public function __construct() {
	$editor_container       = Email_Editor_Container::container();
	$this->renderer         = $editor_container->get( EmailRenderer::class );
	$this->personalizer     = $editor_container->get( Personalizer::class );
	$this->template_manager = WCTransactionalEmailPostsManager::get_instance();
}