| @@ -371,11 +371,11 @@ | ||
| 371 | 371 | * Count posts in a language |
| 372 | 372 | * |
| 373 | 373 | * @since 1.5 |
| 374 | 374 | * |
| 375 | - * @param string $lang Language code. | |
| 376 | - * @param array $args WP_Query arguments ( accepted keys: post_type, m, year, monthnum, day, author, author_name, post_format, post_status ). | |
| 377 | - * @return int Posts count. | |
| 375 | + * @param string $lang language code | |
| 376 | + * @param array $args ( accepted keys: post_type, m, year, monthnum, day, author, author_name, post_format ) | |
| 377 | + * @return int posts count | |
| 378 | 378 | */ |
| 379 | 379 | function pll_count_posts( $lang, $args = array() ) { |
| 380 | 380 | return PLL()->model->count_posts( PLL()->model->get_language( $lang ), $args ); |
| 381 | 381 | } |