WordPress Rest Api search limited to 10 results

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!

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)