PluginProbe
YayExtra – WooCommerce Extra Product Options / trunk
YayExtra – WooCommerce Extra Product Options vtrunk
2.1.0 trunk 1.1.4 1.1.5 1.1.8 1.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3 1.3.1 1.3.4 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.5.2 1.5.3 1.5.5 1.5.6 All 30 releases
yayextra / includes / Integrations.php

Integrations.php in YayExtra – WooCommerce Extra Product Options trunk, at includes/Integrations.php

36 lines 599 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace YayExtra;
3
4 // use YayExtra\Integrations\YayCurrency;
5 use YayExtra\Integrations\WooCommerceNameYourPrice;
6
7 if ( ! defined( 'ABSPATH' ) ) {
8 exit;
9 }
10
11 class Integrations {
12
13 /**
14 * Instance of the Integrations class.
15 *
16 * @var Integrations
17 */
18 protected static $instance = null;
19
20 /**
21 * Function ensure only one instance created.
22 */
23 public static function get_instance() {
24 if ( is_null( self::$instance ) ) {
25 self::$instance = new self();
26 }
27 return self::$instance;
28 }
29
30 public function __construct() {
31 // new YayCurrency();
32 new WooCommerceNameYourPrice();
33 }
34 }
35
36