Delaying the Cookie Banner

Get compliant today in the European Union, United States, Canada, United Kingdom, Australia, Brazil & South Africa with the only Privacy Suite for WordPress that offers a fully-featured plugin for Worldwide Compliance.

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


  • 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

Recent articles

The Privacy Suite for WordPress
Get compliant today with the only Privacy Suite made for WordPress


Popular articles

Join our mailing list - 8 Tips & Tricks in your inbox over the next 8 weeks!