/** * Find a comic file in the filesystem. * @param string $folder The folder name to search. * @param string $override_post A WP Post object to use in place of global $post. * @param string $filter The $comic_filename_filters to use. * @return string The relative path to the comic file, or false if not found. */ function get_comic_path($folder = 'comic', $override_post = null, $filter = 'default', $multi = null) { $mh = new ComicPressMediaHandling(); return $mh->get_comic_path($folder, $override_post, $filter, $multi); }