wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_register_icon_collection › WordPress Function

Since7.1.0
Deprecatedn/a
wp_register_icon_collection ( $slug, $args )
Parameters: (2)
  • (string) $slug Icon collection slug.
    Required: Yes
  • (array) $args { Arguments for registering an icon collection. @type string $label Required. A human-readable label for the icon collection. @type string $description Optional. A human-readable description for the icon collection. }
    Required: Yes
Returns:
  • (bool) True if the icon collection was registered successfully, else false.
Defined at:
Codex:

Registers a new icon collection.



Source

function wp_register_icon_collection( $slug, $args ) {
	return WP_Icon_Collections_Registry::get_instance()->register( $slug, $args );
}