Desactivar complianz cookie banner php

                  <?php 

/** 
 * Disables loading of complianz cookie banner and blocking of cookies
 * while in Oxygen Builder. Uses early-firing compliance hook.
* simply checks the request for the ct_builder query var.
 * */
add_filter( 
    'cmplz_site_needs_cookiewarning', 
    function ( $cookiewarning_required) {
        $url = is_ssl() ? "https" : "http";
        $url .= "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";

        //don't show cookie banner on page where the URL contains the parameter "ct_builder"
        if ( strpos( $url, 'ct_builder' ) !== false ) {
            $cookiewarning_required = false;

            //to disable the cookieblocker, uncomment the following
            define('CMPLZ_DO_NOT_BLOCK', true);
        }

        return $cookiewarning_required;
    }
);