I built this as a temporary fix because the API didn’t have a built in search. I believe it does now, so you should probably just remove this plugin. I haven’t used WordPress in 2 years so I don’t know if I can be of much help to you.
Looking at the API docs, you can add a search parameter to the url and it should filter posts by that:
https://developer.ww.wp.xz.cn/rest-api/reference/posts/#list-posts
Thread Starter
OptArt
(@optart)
https://github.com/KCPT19/REST-API-Search/pull/6 here pull request from our developer.
reason to still use your plugin while there is built in api – apps that use old structure. even though we can upgrade apps right now, not all users will download latest version right away and we don’t want them to have “broken” app.