ngettext_{$domain}

ngettext_{$domain}

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

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

  • /wp-includes/l10n.php line 512
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
         * @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: