I need to run regular updates from external app to wordpress website through REST API. But the performance of the API is awful.
I see around the SHORTINIT
method, that loads minimal WP but it doesn't load rest api either.
My question is how can I make a php file that only loads features I need and also respond to all rest api endopoints?
For example if i make a /wm-minimal/index.php
how can I make calls to /wp-minimal/wp-json/wp/v2
which is the url part that wordpress api responds?