I managed to fix it, there was a wp_query included in the search-route.php file.
Adding ‘posts_per_page’ => 30, to the query there I guess sent the data through, allowing for the per_page condition to work.
Thanks for looking anyhow!
Related Posts:
- WordPress Rest API: How do we validate with our custom API key?
- authentication issue with rest api – rest_cannot_create
- wordpress wp-json prefix issue
- WordPress REST API “rest_authentication_errors” doesn’t work external queries?
- Can’t GET draft posts via REST API from headless frontend
- Formating content rendered from wordpress REST API as JSON and not HTML
- WordPress REST API – Modify JSON before importing
- Why does AWStats show /wp-json* as Viewed URLs
- How to order WordPress Rest API data
- WP Rest API – How to convert embedded to json object in Java [closed]
- featured image not found in json from wp rest api
- Custom endpoint to get all custom taxonomy terms
- WordPress JSON data to and from database to be shown on rest point
- How to Get Featured Image from REST API?
- If I use WordPress REST API V2 and someone makes an app using it. Will my site count the posts views from the APP? And if not, then how?
- How to connect android app with WordPress website?
- Custom WP API endpoint NULL body data
- Is there a way I can fetch the WordPress Developer Code References with an API?
- 403 error when publishing a post in wordpress. Error => Publishing failed. The response is not a valid JSON response
- Error message: Response is not a valid JSON response
- WordPress REST API not working on localhost
- DELETE request using WP REST API
- how to create JSON array [] for REST response?
- WP Rest API in Android studio does not show Images
- What’s the right way to validate JSON data coming from an AJAX POST request?
- How do i POST to WordPress rest API from the same domain?
- How to receive JSON payload from a digital device
- WP CLI in WP 5.3 with PHP 7.4
- Get wordpress post with featured image, category and tag from WordPress API
- WordPress API “code”:”rest_no_route” with Custom Route
- Autotrader API Integration
- REST API get featured image source for custom post type
- Fix Characters WordPress Ionic App
- Display Post Featured Image along with Categories via WP Rest API
- WordPress REST API not displaying all information
- WordPress Rest API Escapes Returned URLs Forward Slash
- Custom WP Rest API Endpoints from JSON Schema
- Custom rest api endpoint response json problem
- WordPress json – How to use the content rendered from json
- How to get attributes from a post requested via the JSON API?
- How to call WordPress API Internally
- Transmit headers and footers via API from one site to another
- Does something like is_rest() exist
- WP REST API — How to change HTTP Response status code?
- Search WP API using the post title
- Understanding SHORTINIT with WordPress 5
- Get Image URL instead of Attachment Id in Rest API
- How do I create a user using the new JSON api in 4.7?
- Filter post_content before loading in Gutenberg editor
- WP REST API – Retrieve content from page
- Create post using rest api with html content
- rest_post_query on multiple post types?
- Wp Rest Api Custom Endpoint for page subpages
- How should an old API version be deprecated gracefully?
- Options to get my custom post type metadata via the WordPress API
- WP REST API returns incorrect data?
- WP 5.5 Fatal Error – get_rest_controller() in rest-api.php
- Hook before posting via JSON REST API
- Is it posible to use wp.data.select(‘core’) outside a block?
- Can you Use the Rest API to query a custom database table
- Is there anyway to format my EndPoint URL in WordPress?
- Return WP_Error as WP_REST_Response
- Custom Rest API POST endpoint with conditionally required parameters
- What is the meta field in the response of the user REST API?
- Is there any way to clear cache when making REST API request?
- Custom API endpoint to create gallery for post
- Register REST route with a multi-value parameter
- How do I add meta when creating a post with rest api?
- WordPress + REST API v2 and private pages Load by slug
- Change permissions on REST api?
- Error invalid parameters with REST API
- How to get featured image in WP rest api
- merge wp rest api query to get posts per category does not work
- How to send the body in wp_remote_post as “raw”?
- REST API and filtering by meta value
- Custom Endpoints not working
- Pull in ALL posts from the last two weeks using Rest API
- Optimal WP Web App Backend for mobile app development
- Cannot use WordPress Application Passwords: “code”: “rest_no_route” “status”:404 for /wp-json/wp/v2/users/me/application-passwords
- GET request return value as error instead of success
- WP REST API returns empty posts despite entries in wp_posts
- The REST API encountered an error in wordpress?
- Do something when publish a post in Gutenberg with hook rest_after_insert_post
- Uploading picture via REST API
- How to modify the HTML output of Gutenberg block? (Youtube)
- Can I use REST API if the site is protected with .htpasswd
- Rest WP_Error always return null
- Accessing secure endpoint with X-WP-Nonce?
- Return all custom taxonomy terms for post in REST API v2? Currently limited to 10 terms
- WP Rest API v2.0 user profile update issue
- Call to undefined function upload_is_user_over_quota()
- Rest api request throttling
- Is my WordPress site handing out sensitive information/misconfigured?
- How can I set the default ‘orderby’ and ‘order’ parameters for a REST API call?
- What filtering is available for backbone.js?
- Woocommerce API for calling products by Category ID
- wordpress rest api authentication failed
- How can I retrieve the original content in a page via REST API, content that I pushed myself also via API?
- Retrieving Deleted Scheduled Posts via WordPress REST API
- get posts from Rest Api by meta_key/meta_value not working