Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

translate()

3 tags 1 category

translate() — Retrieves the translation of $text. If there is no translation, or the text domain isn’t loaded, the original text is returned. Note:* Don’t use translate() directly, use __() or related functions.

Inputs: $text (string): Text to translate. $domain (string): Optional. Text domain. Unique identifier for retrieving translated strings. Default ‘default’.

Returns string: Translated text.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…