rmdir($feed_dir, true); } //delete the log file if(file_exists((new AdScout_Logger())->get_file())) { wp_delete_file((new AdScout_Logger())->get_file()); } //clear all options delete_option('as_integration_options');