# Teams::sync_team_meta_after_front_end_create()

Re-write team meta after front-end create so DB + REST match the submitted wizard (and uploads).

The data store skips empty strings; direct updates here guarantee keys exist for the editor.

```php
sync_team_meta_after_front_end_create( int $team_id, array $fields ): void
```

## Parameters

- `$team_id` (int) New team post ID.
- `$fields` (array) Keys: code, motto, country (sanitized ISO or '').

## Return

`void`
