How can I exclude posts from the search endpoint in WP REST API?
I have:
'/wp-json/wp/v2/search?s=lorem&page=1&per_page=60&_embed&exclude=1392
where 1392 is the ID of excluding page, but it does not work...
https://developer.wordpress.org/rest-api/reference/search-results/
I can't pass exclude parameters to search results, but I have to exclude some posts from the WordPress search. Anyone know how can I do that? Thanks!