# clanbite_normalize_country_code()

Normalize a stored country code for flag file lookup.

```php
clanbite_normalize_country_code( string $code ): string
```

## Parameters

- `$code` (string) Raw code from post meta or user meta.

## Return

`string` Uppercase letters, digits, and hyphens only (e.g. GB, GB-ENG).
