token_type . ' ' . $config->access_token); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); $response = curl_exec($ch); curl_close($ch); if ($response) { require_once MVP_PLUGIN_DIR . '/front/wrapper.php'; $content = mvp_view($response); } return $content; }