Skip to main content

benecaster_supported_locales_updated

Action Free Since v1.0.0

Fires after the supported locales list and primary locale are saved in Settings. Use to clear locale-keyed caches or notify add-ons that email template resolution paths have changed.

Parameters

Name Type Default Description
$supported string[] New array of supported locale codes
$primary string New primary locale code
$previous_supported string[] Previously stored supported locale codes
$previous_primary string Previously stored primary locale code