/var/www/html/wp-content/plugins/checkout-for-woocommerce/includes/Compatibility/Themes/Atelier.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 
Atelier extends CompatibilityAbstract {
    public function 
is_available(): bool {
        return 
function_exists'sf_custom_styles' );
    }

    public function 
run() {
        
$this->wp();
    }

    public function 
wp() {
        if ( 
cfw_is_checkout() ) {
            
remove_action'wp_head''sf_custom_styles' );
        }
    }
}