gettext_{$domain}

gettext_{$domain}

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

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

  • /wp-includes/l10n.php line 219
    	 * @param string $translation Translated text.
    	 * @param string $text        Text to translate.
    	 * @param string $domain      Text domain. Unique identifier for retrieving translated strings.
    	 */
    	$translation = apply_filters( "gettext_{$domain}", $translation, $text, $domain );
    
    	return $translation;
    }
    
    /**
     * Removes last item on a pipe-delimited string.
    

See this hook used in plugins: