Clanbite

attach_icon_pack_scope( array $pack ): array<string, mixed>

Ensure each pack has a non-empty sanitized scope for the React admin.

protected static

Class: Kernowdev\Clanbite\Admin\Admin_Rest

Parameters

$pack (array<string, mixed>) Required

Normalized pack row (id, label, icons, optional scope).

Returns

array<string, mixed>

Defined in inc/admin/class-admin-rest.php