section_groups_for_extension_tree( string $root_slug, Skeleton $root, array $by_slug, array $children_by_parent, Loader $loader ): array<int, array<string, mixed>>Collect settings section groups for an extension and its descendants (parent_slug tree).
protected
Class: Kernowdev\Clanbite\Admin\Admin_Rest
Parameters
$root_slug(string) RequiredSlug of the root extension.
$root(Skeleton) RequiredRoot extension instance.
$by_slug(array<string, Skeleton>) RequiredAll extensions keyed by slug.
$children_by_parent(array<string, array<int, string>>) RequiredChild slugs keyed by parent slug.
$loader(Loader) RequiredExtension install state.
Returns
array<int, array<string, mixed>>
Defined in inc/admin/class-admin-rest.php
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Updated. |