Sets the current locale.
Parameters
$locale
stringrequired- Locale.
Source
public function set_locale( string $locale ) {
$this->current_locale = $locale;
}
Changelog
Version | Description |
---|---|
6.5.0 | Introduced. |
Sets the current locale.
$locale
stringrequiredpublic function set_locale( string $locale ) {
$this->current_locale = $locale;
}
Version | Description |
---|---|
6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.