query( "DROP TABLE IF EXISTS {$wpdb->prefix}botward_blocked" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery foreach ( array( 'botward_settings', 'botward_stats', 'botward_daily', 'botward_hourly', 'botward_geo', 'botward_attack', 'botward_secret', 'botward_risklog', 'botward_db_version', 'botward_version', 'botward_tg_last', 'botward_tg_status', 'botward_license', 'botward_funnel_since' ) as $botward_opt ) { delete_option( $botward_opt ); } wp_clear_scheduled_hook( 'botward_daily_cleanup' ); wp_clear_scheduled_hook( 'botward_tg_tick' ); wp_clear_scheduled_hook( 'botward_tg_attack' );