# Admin_Rest::attach_icon_pack_scope()

Ensure each pack has a non-empty sanitized `scope` for the React admin.

```php
attach_icon_pack_scope( array $pack ): array
```

## Parameters

- `$pack` (array<string, mixed>) Normalized pack row (`id`, `label`, `icons`, optional `scope`).

## Return

`array<string, mixed>`
