# Admin_Rest::add_messages_sub_tabs()

Give each tab a **Messages** sub-tab holding the wording of the extensions it covers.

Message groups are mapped to extensions by `clanbite_message_group_extensions()`. A group mapped to an extension
that is switched off is skipped; a group with no mapping, or whose extension has no settings tab, lands on General. The fields all save to one option,
so every Messages view uses the same option key.

```php
add_messages_sub_tabs( array $tabs ): array
```

## Parameters

- `$tabs` (array<int, array<string, mixed>>) Tab descriptors built so far.

## Return

`array<int, array<string, mixed>>` 

## Changelog

| Version | Description |
| --- | --- |
| 1.5.0 | Introduced |
