Automattic\WooCommerce\Internal\EmailEditor\WCTransactionalEmails
WCEmailTemplateSyncRegistry::get_sync_enabled_emails
Return the registry of emails participating in template sync.
Method of the class: WCEmailTemplateSyncRegistry{}
No Hooks.
Returns
Array@version, the absolute template path, and a source classification (core for first-party emails, third_party otherwise).
Usage
$result = WCEmailTemplateSyncRegistry::get_sync_enabled_emails(): array;
Changelog
| Since 10.8.0 | Introduced. |
WCEmailTemplateSyncRegistry::get_sync_enabled_emails() WCEmailTemplateSyncRegistry::get sync enabled emails code WC 10.8.1
public static function get_sync_enabled_emails(): array {
if ( null === self::$registry_cache ) {
self::$registry_cache = self::resolve();
}
return self::$registry_cache;
}