Yesterday I tried to add some lines of code to my functions.php
and suddenly the whole site throw 403 forbidden error. Both frontend/admin. Asked my hosting provider ( SiteGround ) and they said it is blocked because of security reasons as far as I understood. How can I check for malwares if I can't access my admin panel to install plugin for this. Also downloaded the files on my local server ( I am using LAMP stack on Ubuntu 18 ) and when I try to reach my local domain it redirects me to the site again with 403 forbidden error. What I tried to add as code is :
function test() {
echo "TEST";
}
add_action("test", "test")
After that I have deleted it through FTP. Hope I explained the situtation clearly. If you need more info to give me some advice will provide it immediately. Thank you!