PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.1.6
ShopBuilder – WooCommerce Builder For Elementor v2.1.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
shopbuilder / app / Controllers / PluginsSupport / WooAddressBook.php

WooAddressBook.php in ShopBuilder – WooCommerce Builder For Elementor 2.1.6, at app/Controllers/PluginsSupport/WooAddressBook.php

52 lines 1002 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Radiustheme Variation Gallery support.
5 *
6 * @package RadiusTheme\SB
7 */
8
9 namespace RadiusTheme\SB\Controllers\PluginsSupport;
10
11 use RadiusTheme\SB\Helpers\ElementorDataMap;
12 use RadiusTheme\SB\Helpers\Fns;
13 use RadiusTheme\SB\Modules\WishList\WishlistFns;
14 use RadiusTheme\SB\Traits\SingletonTrait;
15 use RadiusTheme\SB\Helpers\BuilderFns;
16
17 // Do not allow directly accessing this file.
18 if ( ! defined( 'ABSPATH' ) ) {
19 exit( 'This script cannot be accessed directly.' );
20 }
21
22 /**
23 * Product Description class
24 */
25 class WooAddressBook {
26 /**
27 * SingletonTrait.
28 */
29 use SingletonTrait;
30
31 /**
32 * Construct function
33 */
34 private function __construct() {
35 add_shortcode( 'rtsb_woo_address_book', [ $this, 'woo_address_book' ] );
36 }
37
38 /**
39 * @param $atts
40 * @param $content
41 *
42 * @return void
43 */
44 public function woo_address_book( $atts, $content = '' ) {
45 ob_start();
46 $address = \WC_Address_Book::get_instance();
47 $address->wc_address_book_page( '' );
48 return ob_get_clean();
49 }
50
51 }
52