Detect change in site_url and home_url
Option 1 – save a backup of site_url and home_url If you want to detect whenever the site_url or home_url changes (settings page, wp-config.php, functions.php,…) the only way to get it would be to save some extra options on the database with those urls so that whenever the site is opened you would check if … Read more