ngettext_{$domain}

ngettext_{$domain}

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

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

  • /wp-includes/l10n.php line 512
    	 * @param string $plural      The text to be used if the number is plural.
    	 * @param int    $number      The number to compare against to use either the singular or plural form.
    	 * @param string $domain      Text domain. Unique identifier for retrieving translated strings.
    	 */
    	$translation = apply_filters( "ngettext_{$domain}", $translation, $single, $plural, $number, $domain );
    
    	return $translation;
    }
    
    /**
     * Translates and retrieves the singular or plural form based on the supplied number, with gettext context.
    

See this hook used in plugins: