'; echo sprintf( '', $icon ); echo ''; } /** * Returns carousel arrow * * @param array $classes Arrow additional classes list. * * @return string */ public function get_slider_arrow( $classes ) { $format = apply_filters( 'jet-woo-product-gallery/slider/arrows-format', '', $classes ); return sprintf( $format, implode( ' ', $classes ) ); } /** * Returns the instance. * * @since 1.0.0 * @return object */ public static function get_instance( $shortcodes = array() ) { // If the single instance hasn't been set, set it now. if ( null == self::$instance ) { self::$instance = new self( $shortcodes ); } return self::$instance; } } } /** * Returns instance of Jet_Woo_Product_Gallery_Functions * * @return object */ function jet_woo_product_gallery_functions() { return Jet_Woo_Product_Gallery_Functions::get_instance(); }