Sorry. That's a bad usage of my own function :(
The correct usage is:
<?php
global $polylang;
$numpost = $polylang->model->count_posts($polylang->model->get_language('en'));
echo $numpost;
?>
Sorry. That's a bad usage of my own function :(
The correct usage is:
<?php
global $polylang;
$numpost = $polylang->model->count_posts($polylang->model->get_language('en'));
echo $numpost;
?>