WordPress.org

Support

Support » Plugins and Hacks » JSON API » Can I spit out the same JSON without a Web query?

Can I spit out the same JSON without a Web query?

  • Apologies if this has been asked before but:

    Since this software is modular, I have been trying to figure out how to make a request for JSON from within the WordPress PHP and not through a RESTful Web call.

    To figure this out, I have started exploring the way the Singletons are set up, but I’m still a bit confused.

    Does anyone know a good way to say, “Hey, plugin, can you please show all 200 Custom Posts of a certain type, in JSON format…but to return it as a $result I can use inside WordPress?”

    So basically I’m trying to figure out a way to intercept the JSON. Any help much appreciated.

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I spit out the same JSON without a Web query?’ is closed to new replies.
Skip to toolbar