static function turn_off_all_security_features() { AIOWPSecurity_Configure_Settings::set_default_settings(); }
static function turn_off_all_security_features() { global $aio_wp_security; AIOWPSecurity_Configure_Settings::set_default_settings(); //Refresh the .htaccess file based on the new settings $res = AIOWPSecurity_Utility_Htaccess::write_to_htaccess(); if ($res == -1) { $aio_wp_security->debug_logger->log_debug("AIOWPSecurity_Configure_Settings::turn_off_all_firewall_rules() - Could not write to the .htaccess file. Please check the file permissions.", 4); } }