PluginProbe
Polylang / 2.6.3
Polylang v2.6.3
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | include/api.php +3 -3 2.72.6.3 View file →
@@ -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 }