change_locale

最后更新于:2021-11-25 22:54:01

do_action( ‘change_locale’, string $locale )

Fires when the locale is switched to or restored.

参数

$locale

(string)
The new locale.

源文件

文件: gc-includes/class-gc-locale-switcher.php

View on Trac