Clanbite Since 1.5.0
add_messages_sub_tabs( array $tabs ): array<int, array<string, mixed>>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.
protected
Class: Kernowdev\Clanbite\Admin\Admin_Rest
Parameters
$tabs(array<int, array<string, mixed>>) RequiredTab descriptors built so far.
Returns
array<int, array<string, mixed>>
Defined in inc/admin/class-admin-rest.php
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |