# WP_Post_Meta_Data_Store::get_meta_keys_to_update()

Which meta keys need writing: changed props or missing in DB.

```php
get_meta_keys_to_update( array $meta_key_to_prop, int $object_id, array $changes ): array
```

## Parameters

- `$meta_key_to_prop` (array<string, string>) Map meta_key => property name on `$changes`.
- `$object_id` (int) Object ID.
- `$changes` (array<string, mixed>) Dirty properties (prop => value).

## Return

`array<string, string>` Subset of $meta_key_to_prop to update.
