/** * Act as a helper function for one off task of getting videos for a single playlist. * * @param string $playlist_id Playlist ID. * * @return array */ public static function get_videos_by_id($playlist_id) { $playlist = new self($playlist_id); return $playlist->get_videos(); }