/var/www/html_us/wp-content/plugins/checkout-for-woocommerce/includes/Compatibility/Themes/Divi.php


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

namespace Objectiv\Plugins\Checkout\Compatibility\Themes;

use 
Objectiv\Plugins\Checkout\Compatibility\CompatibilityAbstract;

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

    function 
run() {
        
// If this isn't disabled, Divi hides any div with an ID matching the location hash :-/
        
remove_action'wp_head''et_maybe_add_scroll_to_anchor_fix');
    }
}