• Resolved maintanosgr

    (@maintanosgr)


    I have a use case where I have to go through more than 1000 pages at the limit of 200 per page.

    Is it possible to bump it up to 1000 items per page temporarily?

    Could you help us find the place where the limits are set?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @maintanosgr,

    You could try to play with:

    $limit = sanitize_text_field( $request->get_param('limit') );
    $skip = sanitize_text_field( $request->get_param('skip') );

    In the rest.php file. The logic would be to pick 10 in the UI, and modify the code this way:

    $limit = sanitize_text_field( $request->get_param('limit') ) * 100;
    $skip = sanitize_text_field( $request->get_param('skip') ) * 100;

    Maybe that will work.

    But maybe I could add 1,000 in the options ??

    Thank you Jordy, this was very helpful. I had a site with 30,000+ images that needed to be purged. Although I set my multiplication factor to 10x so could delete 2,000 at a time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how can I increase limit per page temporarily?’ is closed to new replies.