<?php
add_filter( 'elementor/icons_manager/additional_tabs', 'themesflat_iconpicker_register' );

function themesflat_iconpicker_register( $icons = array() ) {
	$icons['devoer_icon'] = array(
		'name'          => 'devoer_icon',
		'label'         => esc_html__( 'Devoer Icons', 'themesflat-elementor' ),
		'labelIcon'     => 'devoer-icon-check',
		'prefix'        => '',
		'displayPrefix' => '',
		'url'           => THEMESFLAT_LINK . 'css/devoer-icons.css',
		'fetchJson'     => URL_THEMESFLAT_ADDONS_ELEMENTOR_THEME . 'assets/css/devoer_icons.json',
		'ver'           => '1.0.0',
	);
	$icons['flaticon'] = array(
		'name'          => 'Flaticons',
		'label'         => esc_html__( 'Flat Icons', 'themesflat-elementor' ),
		'labelIcon'     => 'flaticon-chauffeur',
		'prefix'        => '',
		'displayPrefix' => '',
		'url'           => THEMESFLAT_LINK . 'css/flaticon.css',
		'fetchJson'     => URL_THEMESFLAT_ADDONS_ELEMENTOR_THEME . 'assets/css/flaticon_icons.json',
		'ver'           => '1.0.0',
	);

	return $icons;
}