wpseek.com
A WordPress-centric search engine for devs and theme authors
switch_locale › WordPress Action Hooks
Since6.2.0
Deprecatedn/a
› do_action( 'switch_locale', $locale, $user_id )
Parameters: (2) |
|
Defined at: | |
Codex: |
Fires when the locale is switched.
Related Functions: switch_to_locale, switch_to_user_locale, get_locale, switch_to_blog, switch_theme, sanitize_locale_name