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



_wp_register_default_icon_collections › WordPress Function

Since7.1.0
已弃用n/a
› _wp_register_default_icon_collections ( 没有参数 )
访问:
  • private
定义在:
文档:

Registers the default icon collections.



源码

function _wp_register_default_icon_collections() {
	wp_register_icon_collection(
		'core',
		array(
			'label'       => __( 'WordPress' ),
			'description' => __( 'Default icon collection.' ),
		)
	);
	wp_register_icon_collection(
		'core-admin',
		array(
			'label'       => __( 'WordPress Admin' ),
			'description' => __( 'Icon collection used by the WordPress admin interface.' ),
			'public'      => false,
		)
	);
}