Automattic\WooCommerce\Internal\EmailEditor\WCTransactionalEmails
WCEmailTemplateSyncTracker::should_suppress
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.
Метод класса: WCEmailTemplateSyncTracker{}
Хуков нет.
Возвращает
true|false.
Использование
$result = WCEmailTemplateSyncTracker::should_suppress(): bool;
Код WCEmailTemplateSyncTracker::should_suppress() WCEmailTemplateSyncTracker::should suppress WC 10.9.1
private static function should_suppress(): bool {
return WCEmailTemplateSyncBackfill::is_backfilling();
}