Support » Developing with WordPress » increase per_page limit in rest api

  • Resolved shanebp


    We need to increase the per_page limit on responses to a rest api request.
    afaik – the limit is 100

    There used to be a way to filter that param, but it seems this filter hook is no longer working: rest_post_collection_params

    Is there any way to increase that limit? Without hacking the codebase?

    We understand the repercussions of increasing the limit, but we need to exceed the per_page in a single call for use in code that will not be distributed.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘increase per_page limit in rest api’ is closed to new replies.