/** * Filters WP template handlers to render a Shopp product page * * @author Jonathan Davis * @since 1.2 * @version 1.2.1 * * @param string $template The template * @return string The output of the templates **/ public function single($template) { if (!is_shopp_product()) { return $template; } $Page = new ShoppProductPage(); $Page->filters(); return locate_template($Page->templates()); }