Automattic\WooCommerce\EmailEditor\Engine\Templates
Templates::__construct
Constructor of the class.
Метод класса: Templates{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Templates = new Templates(); $Templates->__construct( $templates_registry );
- $templates_registry(Templates_Registry) (обязательный)
- The templates registry.
Код Templates::__construct() Templates:: construct WC 11.3.0
public function __construct( Templates_Registry $templates_registry ) {
$this->templates_registry = $templates_registry;
}