Automattic\WooCommerce\EmailEditor\Engine\Templates

Templates::__constructpublicWC 1.0

Constructor of the class.

Method of the class: Templates{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Templates = new Templates();
$Templates->__construct( $templates_registry );
$templates_registry(Templates_Registry) (required)
The templates registry.

Templates::__construct() code WC 10.6.2

public function __construct( Templates_Registry $templates_registry ) {
	$this->templates_registry = $templates_registry;
}