Support » Plugin: REST API Multiple Post Types » plugin return only 10 results

  • Something is wrong, I can only get 10 results from rest api, including default posts and many custom posts: /

Viewing 1 replies (of 1 total)
  • In case this is still an open issue, you need to add &per_page=20 to your request, as outlined in the REST API Handbook: Pagination

    E.g. wp/v2/posts?type[]=page&type[]=post&per_page=20

Viewing 1 replies (of 1 total)
  • The topic ‘plugin return only 10 results’ is closed to new replies.