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.

Method of the class: WCTransactionalEmails{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

WCTransactionalEmails::init() code WC 11.3.0

final public function init() {
}