skip to Main Content

WordPress – Errors when using "json_decode" (php)

I am writing a WP plugin. I am using json_decode($result, true). When I test connecting plugin on localhost (xampp) I use this code: $result = curl_exec($ch); $json = json_decode($result, true); $access_token = $json["access_token"]; curl_close($ch); The plugin works great, but if…

VIEW QUESTION
Back To Top
Search