My friend has an site with WordPress 4.6.3, after Wordpress REST API vers 2 plugin was installed, added add_action() to function.php to enable API REST to custom post type.
With this http://www.mysite.it/wp-json/wp/v2/portfolio json contains only 10 data insted 71.
How can I fix it? Thanks!