Plugin not compatible with custom REST-API prefix
-
I was creating a custom REST-API prefix and noticed that this plugin has hardcoded references to /wp-json/. If I change my prefix from “wp-json” to “api” or something else, your functionality will not work as expected. Here is the process to?change REST-API prefix.
Could you update your PHP code to grab the REST-API URL using this function:?get_rest_url()? I’m unsure how to solve the JS references unless you use PHP to write to the JS file.
-Steven
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Plugin not compatible with custom REST-API prefix’ is closed to new replies.