WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about change_locale

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-locale-switcher.php do_action 238 /**
* Fires when the locale is switched to or restored.
* @since 4.7.0
* @param string $locale The new locale.

Hook Parameters

Parameter Type Name Description
string $locale The new locale.