Unregisters an icon.
Parameters
$icon_namestringrequired- Namespaced icon name in the form "collection/icon-name" (e.g. "core/arrow-left").
Source
function wp_unregister_icon( $icon_name ) {
return WP_Icons_Registry::get_instance()->unregister( $icon_name );
}
Changelog
| Version | Description |
|---|---|
| 7.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.