Tag Archives: codex

__

Retrieves the translation of $text. If there is no translation, or the domain isn’t loaded, the original text is returned.

4423

Continue reading

_x

Retrieve translated string with gettext contextQuite a few times, there will be collisions with similar translatable text found in more than two places but with different translated context.

4421

Continue reading

_e

Displays the returned translated text from translate().

4309

Continue reading

zeroise

Add leading zeros when necessary.If you set the threshold to ‘4’ and the number is ’10’, then you will get back ‘0010’. If you set the threshold to ‘4’ and the number is ‘5000’, then you will get back ‘5000’.

4289

Continue reading