cache = $cache; $this->id = $id; } public function shortcode() { $cache_key = 'f13_gist_'.$this->id; $cache = get_transient( $cache_key ); if ( $cache ) { echo ''; return $cache; } $m = new \F13\Github\Models\Git_api(); $data = $m->get_gist( $this->id ); if (array_key_exists('message', $data)) { return '