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>) Required

Group slugs.

Returns

array<int, array<string, mixed>> Same shape as Abstract_Settings::export_rest_schema().

Defined in inc/admin/class-messages-settings.php

Changelog

VersionDescription
1.5.0Introduced.