Automattic\WooCommerce\EmailEditor\Engine\Templates

Templates::__construct │ public │ WC 1.0

Constructor of the class.

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

Хуков нет.

Возвращает

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

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

$Templates = new Templates();
$Templates->__construct( $templates_registry );
$templates_registry(Templates_Registry) (обязательный)
The templates registry.

Код Templates::__construct() WC 11.3.0

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