Automattic\WooCommerce\Internal\EmailEditor\WCTransactionalEmails

WCTransactionalEmails::init │ public │ WC 1.0

Initialize the class.

Email posts are no longer generated on initialization. They are created lazily (as drafts) when a user opens the email editor for a specific email type, following the WordPress Site Editor pattern where file templates are the source of truth until the user edits and saves.

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

Хуков нет.

Возвращает

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

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

$WCTransactionalEmails = new WCTransactionalEmails();
$WCTransactionalEmails->init();

Код WCTransactionalEmails::init() WC 11.2.2

final public function init() {
}