How to be GDPR compliant by loading plugins?

I found that I need a must-use plugin. First I created a folder: wp-content/mu-plugins. Next I added the following code: error_log(‘plugin filtering’); add_filter(‘option_active_plugins’, function (array $plugins){ error_log(json_encode($plugins)); return $plugins; }); It lists all my plugins before they are loaded. So I can use a cookie to store user consent for different plugins and use this … Read more