Topics

Function __()

__ — Translate and escape a string

Description:

string __ ( string $text , string $domain , [ string $esc ] )

Translate and escape a string

Package: ImpressPages

Parameters:

string $text Original value in English.
string $domain Context, e.g. plugin name.
string $esc = 'html' Escape type. Available values: false, 'html', 'attr', 'textarea'.

Return values:

string Translated string or original string if no translation exists.

Thrown exceptions:

Ip\Exception
comments powered by Disqus