wp-includes/class-wp-icon-collections-registry.php:146Unregisters an icon collection.
$collection_slugstringbool public function unregister( $collection_slug ) { if ( ! $this->is_registered( $collection_slug ) ) { _doing_it_wrong( __METHOD__, sprintf( /* translators: %s: Icon collection slug. */ __( 'Icon collection "%s" not found.' ), $collection_slug ), '7.1.0' ); return false; } $icons_registry = WP_Icons_Registry::get_instance(); foreach ( $icons_registry->get_registered_icons() as $icon ) { if ( isset( $icon['collection'] ) && $icon['collection'] === $collection_slug ) { $icons_registry->unregister( $icon['name'] ); } } unset( $this->registered_collections[ $collection_slug ] ); return true; }Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
src/wp-includes/class-wp-icon-collections-registry.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.