Sets the current locale.
Parameters
$localestringrequired- Locale.
Source
public function set_locale( string $locale ) {
$this->current_locale = $locale;
}
Changelog
| Version | Description |
|---|---|
| 6.5.0 | Introduced. |
Sets the current locale.
$localestringrequiredpublic 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.