translate_nooped_plural [ WordPress Function ]
translate_nooped_plural ( $nooped_plural, $count, $domain = 'default' )
| Parameters: |
|
| Defined at: |
|
Soorgelijke functies: translate_user_role, _wp_translate_postdata, translate, translate_smiley, translate_level_to_role
Translate the result of _n_noop() or _nx_noop()
Source
<?php
function translate_nooped_plural( $nooped_plural, $count, $domain = 'default' ) {
if ( $nooped_plural['domain'] )
$domain = $nooped_plural['domain'];
if ( $nooped_plural['context'] )
return _nx( $nooped_plural['singular'], $nooped_plural['plural'], $count, $nooped_plural['context'], $domain );
else
return _n( $nooped_plural['singular'], $nooped_plural['plural'], $count, $domain );
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/translate nooped plural « WordPress Codex
Function Reference/translate nooped plural ... Usage. <?php translate_nooped_plural( $nooped_plural, $count, $domain ) ?> ...
codex.wordpress.org - #20188 (_n_noop() does not accept a textdomain) – WordPress Trac
After that, translate_nooped_plural() is used to translate a string according to the textdomain. We can consider this one an enhancement + maybelater, I think.
core.trac.wordpress.org - WordPress › Support » 3.0 Upgraded to 3.1 & Posts Edit Admin ...
Fatal error: Call to undefined function translate_nooped_plural() in /home7/ thejunc1/public_html/justfacts/wp-admin/includes/class-wp-posts-list-table.php on ...
wordpress.org - translate_nooped_plural (WordPress Function) - WPSeek.com
WordPress lookup for translate_nooped_plural, a WordPress Function. wpseek. com is a WordPress-centric search tool for developers and theme authors.
wpseek.com