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

Trying to Find the PHP File/Function that Handles a Specific Form Action URL

The URL you are looking at does not exist in the filesystem, it’s a WP rewrite rule. Ugly URLs look like this: index.php?queryvar=value Pretty URLs look like this: /my/pretty/permalinks But if your server does not or cannot support the needed HTAccess or rules to set up pretty permalinks, there is a workaround: /index.php/my/pretty/permalinks, where index.php … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)