how to delete database entries using $wpdb in php code example
Example: wordpress wpdb delete
wpdb::delete( string $table, array $where, array|string $where_format = null )
wpdb::delete( string $table, array $where, array|string $where_format = null )