delete in wordpress query code example
Example 1: delete in wordpress query
$id = 0815;
$table = 'eLearning_progress';
$wpdb->delete( $table, array( 'id' => $id ) );
Example 2: wordpress wpdb delete
wpdb::delete( string $table, array $where, array|string $where_format = null )