SpecRunner::get_action_locale( Array $action_locales )
Get the action locale that matches the note locale, or fall back to the en_US locale.
Description Description
Parameters Parameters
- $action_locales
-
(Required) The locales from the spec's action.
Return Return
(object) The matching locale, or the en_US fallback locale, or null if neither was found.
Source Source
File: packages/woocommerce-admin/src/RemoteInboxNotifications/SpecRunner.php