Automattic\WooCommerce\Internal\EmailEditor\EmailTemplates

TemplatesController::init()publicWC 1.0

Initialize the controller by registering hooks.

Method of the class: TemplatesController{}

No Hooks.

Return

null. Nothing (null).

Usage

$TemplatesController = new TemplatesController();
$TemplatesController->init(): void;

TemplatesController::init() code WC 9.8.1

final public function init(): void {
	add_filter( 'mailpoet_email_editor_register_templates', array( $this, 'register_templates' ) );
}