# Matches::validate_match_on_save()

Strip invalid team IDs and ensure a default schedule time on save.

```php
validate_match_on_save( int $post_id, WP_Post $post ): void
```

## Parameters

- `$post_id` (int) Post ID.
- `$post` (WP_Post) Post object.

## Return

`void`
