wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_unregister_icon › WordPress Function

Depuis7.1.0
Dépréciéen/a
› wp_unregister_icon ( $icon_name )
Paramètres:
  • (string) $icon_name Namespaced icon name in the form "collection/icon-name" (e.g. "core/arrow-left").
    Requis: Oui
Retourne:
  • (bool) True if the icon was unregistered successfully, else false.
Défini(e) dans:
Codex:

Unregisters an icon.



Source

function wp_unregister_icon( $icon_name ) {
	return WP_Icons_Registry::get_instance()->unregister( $icon_name );
}