skip to Main Content

php How to use values from json_decode array? – Shopify

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET"); curl_setopt($ch,CURLOPT_RETURNTRANSFER,TRUE); curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json", "X-Shopify-Access-Token: $token")); $translation_json = curl_exec($ch); $translation_decoded= json_decode($translation_json, true); The result is: Array ( [asset] => Array ( [key] => locales/en.default.json [public_url] => [value] => { "general": { "accessibility": { "skip_to_content": "Skip to…

VIEW QUESTION
Back To Top
Search