Advertisements

translate_with_gettext_context

Definition:
function translate_with_gettext_context( $text, $context, $domain = 'default' ) {}

Parameters

  • $text
  • $context
  • $domain

Defined filters

  • gettext_with_context
    apply_filters( 'gettext_with_context', $translations->translate( $text, $context )

Source code

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 );

}

3091

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: