wpseek.com
A WordPress-centric search engine for devs and theme authors



restore_previous_locale › WordPress Action Hooks

Since4.7.0
Deprecatedn/a
do_action( 'restore_previous_locale', $locale, $previous_locale[0] )
Parameters: (2)
  • (string) $locale The new locale.
    Required: Yes
  • (string) $previous_locale The previous locale.
    Required: Yes
Defined at:
Codex:

Fires when the locale is restored to the previous one.





Source

do_action( 'restore_previous_locale', $locale, $previous_locale[0] );