[Plugin: JSON API] External Controller Path Error
-
So in order to activate my external plugin I have to do this:
function set_howry_controller_path() { return "../wp-content/themes/howry/includes/json.php"; } add_filter('json_api_howry_controller_path', 'set_howry_controller_path');Then I get an error when I try to access the controller. The path isn’t found on line 29 of json-api/singletons/api.php
if (file_exists($controller_path)) {I have to change the path in my function to this:
return "wp-content/themes/howry/includes/json.php";And it works, but it appears in the admin screen as broken…
Has anyone found a fix to this or patched the json-api code?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘[Plugin: JSON API] External Controller Path Error’ is closed to new replies.