Fires when the locale is switched.
$localestring
$user_idfalse|int
do_action( 'switch_locale', $locale, $user_id );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/switch_locale