Automattic\WooCommerce\Internal\EmailEditor\WCTransactionalEmails

WCTransactionalEmails::init_email_templates │ public │ WC 1.0

Deprecated since 1.1.0. It is no longer supported and may be removed in future releases. Use r opens editor. No-op, will be removed in a future version instead.

Initialize email templates on WooCommerce admin pages.

Method of the class: WCTransactionalEmails{}

No Hooks.

Returns

void. Nothing (null).

Usage

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

Changelog

Deprecated since 11.1.0 Email posts are no longer generated on admin page loads; they are created lazily when the user opens the editor. No-op, will be removed in a future version.

WCTransactionalEmails::init_email_templates() code WC 11.1.2

public function init_email_templates() {
	wc_deprecated_function( __METHOD__, '11.1.0' );
}