gettext_with_context

gettext_with_context

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('gettext_with_context') is found 1 times:

  • /wp-includes/l10n.php line 274
    	 * @param string $text        Text to translate.
    	 * @param string $context     Context information for the translators.
    	 * @param string $domain      Text domain. Unique identifier for retrieving translated strings.
    	 */
    	$translation = apply_filters( 'gettext_with_context', $translation, $text, $context, $domain );
    
    	/**
    	 * Filters text with its translation based on context information for a domain.
    	 *
    	 * The dynamic portion of the hook name, `$domain`, refers to the text domain.
    	 *
    

See this hook used in plugins: