Checking Options and sending email if one does not match
-
Does the _options table always load by default into wordpress? so if I want to have wordpress check if siteurl and home do not match what they should be it sends me an email?
I can put a function in the functions.php file, that checks it if it already loads, just wondering how to check those?if ($whatstringisit != "https://airdefensebadge.com/") { // send email }
I have wordfence premium watching site, and no malware on it anywhere, but some how 3 times the domain url has changed to add something to the end like /.wp-toolkit_O or /.wp-toolkit_m, it has happened like 3 times, and it does not just change it there, it changes everywhere in the database it has the domain, it adds it to those too. it is very strange. I cannot find what is causing it. I use all these same plugins I am using on it, on multiple sites and this is the ONLY One this happens on. So I don’t think it is a plugin causing it. So I figured I just want something watching it 24/7 and send me an email if it happens again.
Please let me know the string I would check. I don’t know it.The page I need help with: [log in to see the link]
- The topic ‘Checking Options and sending email if one does not match’ is closed to new replies.