wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_unregister_icon › WordPress Function

Since7.1.0
已弃用n/a
› wp_unregister_icon ( $icon_name )
参数:
  • (string) $icon_name Namespaced icon name in the form "collection/icon-name" (e.g. "core/arrow-left").
    Required: Yes
返回:
  • (bool) True if the icon was unregistered successfully, else false.
定义在:
文档:

Unregisters an icon.



源码

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