Fires when the locale is switched to or restored.
$locale
string
wp-includes/class-wp-locale-switcher.php:295
View on Trac ↗View on GitHub ↗
289 * Fires when the locale is switched to or restored.290 *291 * @since 4.7.0292 *293 * @param string $locale The new locale.294 */295 do_action( 'change_locale', $locale );296 }297}298
Introduced in 4.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.