/var/www/html/wp-content/plugins/checkout-for-woocommerce/includes/Compatibility/Themes/Blaszok.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

namespace Objectiv\Plugins\Checkout\Compatibility\Themes;

use 
Objectiv\Plugins\Checkout\Compatibility\CompatibilityAbstract;

class 
Blaszok extends CompatibilityAbstract {
    public function 
is_available(): bool {
        return 
function_exists'mpcth_woo_fix' );
    }

    function 
pre_init() {
        
add_action(
            
'init',
            function() {
                
remove_action'init''mpcth_woo_fix' );
            },
            
1
        
);
    }
}