A WordPress-centric search engine for devs and theme authors



restore_previous_locale ›

Since4.7.0
Deprecatedn/a
do_action( 'restore_previous_locale', $locale, $previous_locale )
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 );