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