Title: wp-includes/class-wp-icons-registry.php | Developer.WordPress.org

---

# File: wp-includes/class-wp-icons-registry.php

 * method[WP_Icons_Registry::register()](https://developer.wordpress.org/reference/classes/wp_icons_registry/register/)
 * Registers an icon.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_icons_registry/register/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/register/#uses)
   | Source: [wp-includes/class-wp-icons-registry.php:103](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-wp-icons-registry.php#L103-L179)
 * method[WP_Icons_Registry::sanitize_icon_content()](https://developer.wordpress.org/reference/classes/wp_icons_registry/sanitize_icon_content/)
 * Sanitizes the icon SVG content.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/sanitize_icon_content/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_icons_registry/sanitize_icon_content/#uses)
   | Source: [wp-includes/class-wp-icons-registry.php:190](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-wp-icons-registry.php#L190-L217)
 * method[WP_Icons_Registry::get_content()](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_content/)
 * Retrieves the content of a registered icon.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_content/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_content/#uses)
   | Source: [wp-includes/class-wp-icons-registry.php:225](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-wp-icons-registry.php#L225-L243)
 * method[WP_Icons_Registry::get_registered_icon()](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_registered_icon/)
 * Retrieves an array containing the properties of a registered icon.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_registered_icon/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_registered_icon/#uses)
   | Source: [wp-includes/class-wp-icons-registry.php:252](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-wp-icons-registry.php#L252-L261)
 * method[WP_Icons_Registry::get_registered_icons()](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_registered_icons/)
 * Retrieves all registered icons.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_registered_icons/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_registered_icons/#uses)
   | Source: [wp-includes/class-wp-icons-registry.php:269](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-wp-icons-registry.php#L269-L282)
 * method[WP_Icons_Registry::is_registered()](https://developer.wordpress.org/reference/classes/wp_icons_registry/is_registered/)
 * Checks if an icon is registered.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_icons_registry/is_registered/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/is_registered/#uses)
   | Source: [wp-includes/class-wp-icons-registry.php:291](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-wp-icons-registry.php#L291-L293)
 * method[WP_Icons_Registry::get_instance()](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_instance/)
 * Utility method to retrieve the main instance of the class.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_instance/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/wp_icons_registry/get_instance/#uses)
   | Source: [wp-includes/class-wp-icons-registry.php:303](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-wp-icons-registry.php#L303-L309)
 * class[WP_Icons_Registry](https://developer.wordpress.org/reference/classes/wp_icons_registry/)
 * Core class used for interacting with registered icons.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/#uses)
   | Source: [wp-includes/class-wp-icons-registry.php:15](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-wp-icons-registry.php#L15-L310)
 * method[WP_Icons_Registry::__construct()](https://developer.wordpress.org/reference/classes/wp_icons_registry/__construct/)
 * Constructor.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/wp_icons_registry/__construct/#used-by)
   | Uses [4 functions](https://developer.wordpress.org/reference/classes/wp_icons_registry/__construct/#uses)
   | Source: [wp-includes/class-wp-icons-registry.php:43](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/class-wp-icons-registry.php#L43-L86)