/** * Uninstall method is called once uninstall this plugin * delete tables, options that used in plugin */ static function uninstall() { $setting = array(); update_option(SIB_Manager::main_option_name, $setting); $home_settings = array('activate_email' => 'no'); update_option(SIB_Manager::home_option_name, $home_settings); // delete access_token $token_settings = array(); update_option(SIB_Manager::access_token_option_name, $token_settings); // remove account info SIB_Page_Home::remove_account_info(); }