Automattic\WooCommerce\Internal\EmailEditor\WCTransactionalEmails

WCEmailTemplateAutoApplier::is_auto_applyingpublic staticWC 10.8.0

Whether the auto-applier is currently rewriting a post.

Future save_post (RSM-143, RSM-145) should consult this flag to differentiate merchant edits from system-initiated writes.

Method of the class: WCEmailTemplateAutoApplier{}

No Hooks.

Returns

true|false.

Usage

$result = WCEmailTemplateAutoApplier::is_auto_applying(): bool;

Changelog

Since 10.8.0 Introduced.

WCEmailTemplateAutoApplier::is_auto_applying() code WC 10.9.1

public static function is_auto_applying(): bool {
	return self::$is_auto_applying;
}