apply_filters( 'clanbite_admin_icon_packs', array<int, array<string, mixed>> $packs )Filters the icon packs offered by the admin icon picker.
Packs from the Points and Ranks companions are merged in afterwards and deduplicated by pack id.
Filter PHP
Parameters
$packs(array<int, array<string, mixed>>)Icon pack definitions, each with an
id. Return a list, not an associative array.
Example
add_filter( 'clanbite_admin_icon_packs', function ( $packs ) {
// Change $packs here.
return $packs;
}, 10, 1 );Defined in inc/admin/class-admin-rest.php
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Updated. |