Reload after Consent

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.

As Complianz unblocks scripts dynamically with JavaScript, in most cases, it won’t be necessary to reload the page after obtaining consent.

But there are some cases where you might require a reload of the page after consent, for instance, when using a plugin that handles consent on the server-side. Or, if you have an ‘incomplete’ integration that correctly blocks certain content, but does not properly re-initialize the content after obtaining consent.

In such cases, you can resort to the below MU Plugin to reload the page after obtaining consent.

Configuration

  • Copy and paste the below code in any text editor
  • Save the file as a .php file
  • Upload the .php file that you just created to 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

Categories

Popular articles

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