Get JSON from within theme
-
So after some hackety hacking… i decided to go with cURL for a brief minute.
The solution to getting your JSON in a theme or plugin.$theBody = wp_remote_retrieve_body( wp_remote_get(‘http://localhost’) );
http://codex.wordpress.org/HTTP_API
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get JSON from within theme’ is closed to new replies.