PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.0.2
ShopBuilder – WooCommerce Builder For Elementor v2.0.2
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
shopbuilder / templates / elementor / single-product / actions-button.php

actions-button.php in ShopBuilder – WooCommerce Builder For Elementor 2.0.2, at templates/elementor/single-product/actions-button.php

28 lines 648 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template variables:
4 *
5 * @var $controllers array Widgets/Addons Settings
6 * @var $content string Widget/Addons Content
7 */
8
9 // Do not allow directly accessing this file.
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit( 'This script cannot be accessed directly.' );
12 }
13
14 use RadiusTheme\SB\Helpers\Fns;
15
16 global $product;
17 if ( empty( $product ) ) {
18 return;
19 }
20
21 $view_mode = ! empty( $controllers['view_mode'] ) ? $controllers['view_mode'] : 'inline';
22
23 ?>
24
25 <div class="rtsb-actions-button rtsb-actions-button-widgets action-button-wrapper button-display-<?php echo esc_attr( $view_mode ); ?>">
26 <?php Fns::print_html( $content , true ); ?>
27 </div>
28