Automattic\WooCommerce\Internal\EmailEditor\WCTransactionalEmails

WCEmailTemplateSyncTracker::should_suppressprivate staticWC 1.0

Whether per-post telemetry should be suppressed in the current request.

true while the one-time RSM-149 backfill is rewriting post content so the _available / _applied events do not storm during the migration. The single _backfill_completed event covers that surface instead.

Method of the class: WCEmailTemplateSyncTracker{}

No Hooks.

Returns

true|false.

Usage

$result = WCEmailTemplateSyncTracker::should_suppress(): bool;

WCEmailTemplateSyncTracker::should_suppress() code WC 10.9.1

private static function should_suppress(): bool {
	return WCEmailTemplateSyncBackfill::is_backfilling();
}