Signature
translate_with_gettext_context( $text, $context, $domain = 'default' )
- text
- context
- domain
-
Default:'default'
Return
(void)
Source
function translate_with_gettext_context( $text, $context, $domain = 'default' ) {
$translations = get_translations_for_domain( $domain );
return apply_filters( 'gettext_with_context', $translations->translate( $text, $context ), $text, $context, $domain );
}
WP Trac GitHub Bitbucket
Link here
-
URL
http://queryposts.com/function/translate_with_gettext_context/ -
HTML
<a href='http://queryposts.com/function/translate_with_gettext_context/'>translate_with_gettext_context()</a> -
Markdown
[translate_with_gettext_context()](http://queryposts.com/function/translate_with_gettext_context/) -
BBCode
[url=http://queryposts.com/function/translate_with_gettext_context/]translate_with_gettext_context()[/url]