• Resolved mkarena

    (@mkarena)


    Hi, I want to debug the css and JS while being connected as admin user. How can i force the banner to show ? (for example an argument in the url…)

    add_filter( 'cmplz_site_needs_cookiewarning', 'cmplz_force_banner' );
    function cmplz_force_banner($required){
        return true;
    }

    I tried the above code, but not working.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @mkarena,

    You might not need to add any code for this. You can always re-open the banner, also while logged-in as admin, by using the “Manage Consent” button on the bottom right corner of the page. Does that serve your needs?

    Kind regards,
    Jarno

Viewing 1 replies (of 1 total)
  • The topic ‘Force banner to show for debugging’ is closed to new replies.