Server IP : 162.0.217.223 / Your IP : 216.73.216.168 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/backup/msckey.com/wp-content/plugins/woolentor-addons/classes/ |
Upload File : |
<?php // Exit if accessed directly if( ! defined( 'ABSPATH' ) ) exit(); /** * Third party */ class WooLentorThirdParty{ /** * [$_instance] * @var null */ private static $_instance = null; /** * [instance] Initializes a singleton instance * @return [Base] */ public static function instance() { if ( is_null( self::$_instance ) ) { self::$_instance = new self(); } return self::$_instance; } function __construct(){ $this->woocommerce_german_market(); } /** * WooCommerce German Market * * @return void */ public function woocommerce_german_market(){ if( class_exists('Woocommerce_German_Market') ){ add_action( 'woolentor_universal_after_price', array( 'WGM_Template', 'woocommerce_de_price_with_tax_hint_loop' ) ); add_action( 'woolentor_addon_after_price', array( 'WGM_Template', 'woocommerce_de_price_with_tax_hint_loop' ) ); } } } WooLentorThirdParty::instance();