I have a quick question about this codex topic.
I am new to creating admin menus and I don't understand what mt_trans_domain does in the example.
I have a quick question about this codex topic.
I am new to creating admin menus and I don't understand what mt_trans_domain does in the example.
mt = menu test, and the _e() function:
/**
* Displays the returned translated text from translate().
*
* @see translate() Echos returned translate() string
* @since 1.2.0
*
* @param string $text Text to translate
* @param string $domain Optional. Domain to retrieve the translated text
*/
function _e($text, $domain = 'default') {
echo translate($text, $domain);
}
Ahh I see. Thanks!
This topic has been closed to new replies.