/** * Fetch and Store the thumbnails and info for the selected Vimeo videos * @param int $postId Post ID */ public function vimeoVideoCache($postId) { if ($postId == 8) { $vimeo = new \CPFCMembers\Vimeo(); $vimeo->fetchAndCache(); } }