translate_with_context


translate_with_context ( $text, $domain = 'default' )

Parameters:
  • (string) text Text to translate.
  • (string) domain Domain to retrieve the translated text.
See:
Returns:
  • (string) Translated text.
Defined at:

Description

Translates $text like translate(), but assumes that the text contains a context after its last vertical bar.

Related Functions

translate_with_gettext_context, translate_smiley, _wp_translate_postdata, get_the_content, register_widget_control

Top Google Results

User discussions

wpseek mobile