Delaying the Cookie Banner

You might want to add a delay before the Cookie Banner is displayed on your website. This can be done by adding the below filter as an MU Plugin.

For detailed instructions on the installation of MU Plugins, please see: Adding filters with MU Plugins. Quick & Easy

Configuration

  • Copy the above code to a text editor
  • Change the amount in milliseconds to delay the banner with on line 11 in the code. By default, the delay is set to 3000 milliseconds (3 seconds).
  • Save this as a .php file in the folder /wp-content/mu-plugins/ on your website

Join 1M+ users and install The Privacy Suite for WordPress locally, automated or fully customized, and access our awesome support if you need any help!

Complianz has received its Google CMP Certification to conform to requirements for publishers using Google advertising products.