gettext_with_context_{$domain}

gettext_with_context_{$domain}

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('gettext_with_context_{$domain}') is found 1 times:

  • /wp-includes/l10n.php line 288
    	 * @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_{$domain}", $translation, $text, $context, $domain );
    
    	return $translation;
    }
    
    /**
     * Retrieves the translation of $text.
    

See this hook used in plugins: