Automattic\WooCommerce\EmailEditor\Engine\Templates

Templates_Registry::initializepublicWC 1.0

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

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

Хуки из метода

Возвращает

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

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

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

Код Templates_Registry::initialize() WC 10.8.1

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