Returns the Translations instance for a domain. If there isn’t one, returns empty Translations instance.
1869
Continue readingReturns the Translations instance for a domain. If there isn’t one, returns empty Translations instance.
1869
Continue readingGets the current locale.If the locale is set, then it will filter the locale in the ‘locale’ filter hook and return the value.
1472
Continue readingGet all available languages based on the presence of *.mo files in a given directory. The default directory is WP_LANG_DIR.
1182
Continue readingRetrieves the translation of $text and escapes it for safe use in HTML output.If there is no translation, or the domain isn’t loaded, the original text is returned.
1034
Continue reading