• Hi,

    i would like to know how i could set internally (and not with parameters) in a customized controller the “custom fields” list that i want to show in JSON output.
    For the post format, i used – instead of passing it via parameter “&include=comments,title,…” – this code:

    global $json_api;
    $json_api->response->include_values = $this->include_values_categories;

    Is that the right way?
    How could I do the same for “&custom_fields=…” parameter?

    Thanks a lot, wonderful plugin!
    Andrea

    http://wordpress.org/extend/plugins/json-api/

  • The topic ‘[Plugin: JSON API] Set custom post format and’ is closed to new replies.