/* Get Comment Counter Without Cache */ function jnews_get_comments_number( $post_id = 0 ) { delete_post_meta( get_the_ID(), 'jnews_comments_number' ); /* Delete Cache */ $comment = JNews\Comment\CommentNumber::getInstance(); $comments_number = $comment->comments_number( $post_id ); return apply_filters( 'jnews_get_comments_number', $comments_number, $post_id ); }