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


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

namespace Objectiv\Plugins\Checkout\Compatibility\Themes;

use 
Objectiv\Plugins\Checkout\Compatibility\CompatibilityAbstract;

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

    public function 
run() {
        
add_filter'verso_filter_theme_style_url''__return_empty_string'100 );

        
// Hide search form
        
remove_action'wp_footer''verso_render_footer'10 );
    }
}