wpseek.com
A WordPress-centric search engine for devs and theme authors
switch_locale › WordPress Action Hooks
Since4.7.0
Deprecatedn/a
› do_action( 'switch_locale', $locale )
Parameters: |
|
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, restore_current_locale