Clanbite Since 1.5.0
export_rest_schema_for_groups( array $groups ): array<int, array<string, mixed>>REST schema (sections and fields) for some message groups only.
Each extension tab shows the groups that belong to it as its Messages sub-tab.
public
Class: Kernowdev\Clanbite\Admin\Messages_Settings
Parameters
$groups(array<int, string>) RequiredGroup slugs.
Returns
array<int, array<string, mixed>> Same shape as Abstract_Settings::export_rest_schema().
Defined in inc/admin/class-messages-settings.php
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |