Registers a new icon collection.
Parameters
$slugstringrequired- Icon collection slug.
$argsarrayrequired- Arguments for registering an icon collection.
labelstringRequired. A human-readable label for the icon collection.descriptionstringOptional. A human-readable description for the icon collection.
Source
function wp_register_icon_collection( $slug, $args ) {
return WP_Icon_Collections_Registry::get_instance()->register( $slug, $args );
}
Changelog
| Version | Description |
|---|---|
| 7.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.