PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.6
ShopBuilder – WooCommerce Builder For Elementor v3.2.6
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | templates/quick-view/content.php +5 -13 2.1.33.2.6 View file →
@@ -6,9 +6,8 @@
6 6 * @package ShopBuilder QuickView
7 7 * @version 1.0.0
8 8 */
9 9
10 -
11 10 /**
12 11 * Template variables:
13 12 *
14 13 * @var $product_id int Current product id
@@ -18,22 +17,15 @@
18 17 * @var $left_text string Html allowed
19 18 * @var $right_text string Html allowed
20 19 */
21 20
22 -/**
23 - * Quick view content.
24 - *
25 - * @author YITH
26 - * @package YITH WooCommerce Quick View
27 - * @version 1.0.0
28 - */
21 +defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
29 22
30 -defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
23 +use RadiusTheme\SB\Helpers\Fns;
31 24
32 25 while ( have_posts() ) :
33 - the_post();
34 - ?>
35 - <div class="quick-view-product-wrapper">
26 + the_post(); ?>
27 + <div class="quick-view-product-wrapper <?php echo esc_attr( implode( ' ', apply_filters( 'rtsb/wcqv/modal/wrapper/classes', [] ) ) ); ?>">
36 28 <div id="product-<?php the_ID(); ?>" <?php post_class( 'product' ); ?>>
37 29 <?php ob_start(); ?>
38 30 <?php do_action( 'rtsb/wcqv/product/image' ); ?>
39 31 <div class="summary entry-summary">
@@ -41,9 +33,9 @@
41 33 <?php do_action( 'rtsb/wcqv/product/summary' ); ?>
42 34 </div>
43 35 </div>
44 36 <?php $content = ob_get_clean(); ?>
45 - <?php echo apply_filters( 'rtsb/wcqv/product/content', $content ); ?>
37 + <?php echo apply_filters( 'rtsb/wcqv/product/content', $content ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
46 38 </div>
47 39 </div>
48 40 <?php
49 41 endwhile; // end of the loop.