prefix . 'aiforya_al_events'; $aiforya_al_drop = "DROP TABLE IF EXISTS `{$aiforya_al_table}`"; // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQL.NotPrepared $wpdb->query( $aiforya_al_drop ); foreach ( [ 'aiforya_al_settings', 'aiforya_al_db_version' ] as $aiforya_al_opt ) { delete_option( $aiforya_al_opt ); } wp_clear_scheduled_hook( 'aiforya_al_cleanup' ); } )();