Automattic\WooCommerce\EmailEditor\Engine\Templates

Templates_Registry::initializepublicWC 1.0

Initialize the template registry. This method should be called only once.

Method of the class: Templates_Registry{}

Returns

null. Nothing (null).

Usage

$Templates_Registry = new Templates_Registry();
$Templates_Registry->initialize(): void;

Templates_Registry::initialize() code WC 10.6.2

public function initialize(): void {
	apply_filters( 'woocommerce_email_editor_register_templates', $this );
}