$wpdb->delete best practices 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 )