Translations_Loader::has_loaded_translations()
Returns whether the locale has been switched or not.
Return
(bool) Whether the locale has been switched or not.
Source
File: src/Common/Translations_Loader.php
public function has_loaded_translations(): bool { return $this->has_loaded_translations; }
Changelog
Version | Description |
---|---|
5.0.8 | Introduced. |