Automattic\WooCommerce\EmailEditor\Engine\Templates

Templates_Registry::initialize │ public │ WC 1.0

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

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

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

Возвращает

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

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

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

Код Templates_Registry::initialize() WC 11.2.2

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