<?php
	add_filter( 'elementor/icons_manager/additional_tabs', 'gicon_custom_icons_filters' , 9999999, 1 );
	function gicon_custom_icons_filters( $tabs = array() ) {
		$newicons = [
			'hicon-selection',
			'hicon-delete',
			'hicon-focus',
			'hicon-star',
			'hicon-plus',
			'hicon-support',
			'hicon-shopping-cart',
			'hicon-address',
			'hicon-fast-food',
			'hicon-user',
			'hicon-plane',
			'hicon-online-booking',
			'hicon-travel',
			'hicon-landscape',
			'hicon-recovery',
			'hicon-coronavirus',
			'hicon-travel-1',
			'hicon-car',
			'hicon-travel-2',
			'hicon-passport',
			'hicon-travel-3',
			'hicon-location',
			'hicon-deer',
			'hicon-paragliding',
			'hicon-mountains',
			'hicon-mountain',
			'hicon-flag',
			'hicon-hang-gliding',
			'hicon-summer-holidays',
			'hicon-summer',
			'hicon-reisekarte',
			'hicon-wegweiser',
			'hicon-lager',
			'hicon-time',
			'hicon-wifi',
			'hicon-paw',
			'hicon-parking-sign',
			'hicon-elevator',
			'hicon-global-1',
			'hicon-coupon',
			'hicon-suitcase',
			'hicon-shopping-bags',
			'hicon-food',
			'hicon-plane-1',
			'hicon-purse-with-bill',
			'hicon-credit-card',
			'hicon-player',
			'hicon-table',
			'hicon-reception',
			'hicon-cctv',
			'hicon-wheelchair',
			'hicon-towel',
			'hicon-shampoo',
			'hicon-hotel-sign',
			'hicon-room-service',
			'hicon-jacuzzi',
			'hicon-single-bed',
			'hicon-review',
			'hicon-bathroom',
			'hicon-room-key',
			'hicon-swimmer',
			'hicon-terrace',
			'hicon-receptionist',
			'hicon-laundry',
			'hicon-translate',
			'hicon-newspaper',
			'hicon-cutlery',
			'hicon-cocktail',
			'hicon-shop',
			'hicon-car-1',
			'hicon-skincare',
			'hicon-add-group',
			'hicon-blog',
			'hicon-publish',
			'hicon-growth',
			'hicon-price-tag',
			'hicon-list',
			'hicon-list-1',
			'hicon-thumbs-up',
			'hicon-network',
			'hicon-locations',
			'hicon-purse',
			'hicon-group',
			'hicon-home-2',
			'hicon-health-1',
			'hicon-rent',
			'hicon-bed-1',
			'hicon-discount-1',
			'hicon-extractor-hood',
			'hicon-directory-1',
			'hicon-check-1',
			'hicon-star-3',
			'hicon-clipboard-1',
			'hicon-town',
			'hicon-delete-1',
			'hicon-magnifying-glass',
			'hicon-cityscape',
			'hicon-staircase',
			'hicon-bath',
			'hicon-shower',
			'hicon-quote-1',
			'hicon-pet-house',
			'hicon-agent',
			'hicon-assets',
			'hicon-phone-call-1',
			'hicon-star-1',
			'hicon-shop-1',
			'hicon-shopping-cart-2',
			'hicon-condominium',
			'hicon-square-measument',
			'hicon-armchair',
			'hicon-scissors-1',
			'hicon-cocktail-1',
			'hicon-comment',
			'hicon-plus-1',
			'hicon-calling-1',
			'hicon-exploration',
			'hicon-tiles',
			'hicon-cutlery-1',
			'hicon-nature',
			'hicon-window',
			'hicon-focus-1',
			'hicon-028-star-2',
			'hicon-selection-2',
			'hicon-home-1',
			'hicon-car-2',
			'hicon-building',
			'hicon-shower-1',
			'hicon-message-2',
			'hicon-modern-house',
			'hicon-alarm-clock',
			'hicon-arrow-1',
			'hicon-arrow-left-2',
			'hicon-arrow-right-2',
			'hicon-bars',
			'hicon-calendar1',
			'hicon-discount1',
			'hicon-happy-clients',
			'hicon-like',
			'hicon-location1',
			'hicon-phone-2',
			'hicon-pin-1',
			'hicon-search',
			'hicon-team-exp',
			'hicon-team-exp-2',
			'hicon-teams',
			'hicon-alarm',
			'hicon-arrow-right-1',
			'hicon-arrow-left-1',
			'hicon-cart-1',
			'hicon-check',
			'hicon-shopping-cart-11',
			'hicon-comments',
			'hicon-play',
			'hicon-bell',
			'hicon-map',
			'hicon-send',
			'hicon-confirmation',
			'hicon-achievement',
			'hicon-lamp',
			'hicon-chat-1',
			'hicon-right-arrow',
			'hicon-search-2',
			'hicon-left-arrow',
			'hicon-calling',
			'hicon-heart',
			'hicon-basket',
			'hicon-apartment',
			'hicon-property',
			'hicon-house',
			'hicon-warehouse',
			'hicon-apartment-1',
			'hicon-home',
			'hicon-maximize',
			'hicon-bed',
			'hicon-bath-tub',
			'hicon-star-2',
			'hicon-straight-quotes',
			'hicon-quote-2',
			'hicon-user-3',
			'hicon-calendar-1',
			'hicon-instagram',
			'hicon-filter',
			'hicon-apple-logo',
			'hicon-playstore',
			'hicon-maps-and-flags',
			'hicon-share',
			'hicon-more',
			'hicon-list-2',
			'hicon-compare',
			'hicon-whatsapp',
			'hicon-tag',
			'hicon-wifi-1',
			'hicon-tv-monitor',
			'hicon-parking',
			'hicon-maintenance',
			'hicon-placeholder',
			'hicon-gmail',
			'hicon-clock-2'
		];

		$icons['gva_custom_icon'] = array(
			  'name'          => 'hicon-icons-theme',
			  'label'         => esc_html__( 'Icons Theme', 'homirx-themer' ),
			  'labelIcon'     => 'fas fa-user',
			  'prefix'        => '',
			  'displayPrefix' => '',
			  'icons'         => $newicons,
			  'url'          => GAVIAS_HOMIRX_PLUGIN_URL . 'assets/icons/style.css',
			  'ver'           => '1.0',
		 );

		return array_merge( $tabs, $icons );
	}

	add_action( 'wp_print_footer_scripts', 'gicon_insert_icons_footer_css'  );
	function gicon_insert_icons_footer_css() {
		echo '<link rel="stylesheet" type="text/css" href="' . GAVIAS_HOMIRX_PLUGIN_URL . 'assets/icons/style.css">';
	}
