<?php
/**
 * Adding custom icon to icon control in Elementor
 */
function restly_icons_library( $tabs = array() ) {

    
    $flaticons = array(
        'map',
        'mail',
        'call-answer',
        'chat',
        'left-arrow',
        'right-arrow',
        'back',
        'next',
        'play-button',
        'play-button-1',
        'upload',
        'back-1',
        'responsive',
        'add',
        'play-button-2',
        'android',
        'fire',
        'layers',
        'computer',
        'chip',
        'cogwheels',
        'support',
        'web',
        'headset',
        'facebook',
        'drop-of-liquid',
        'drop',
        'placeholder',
        'shield',
        'fountain-pen',
        'settings',
        'phone-call',
        'call',
        'settings-1',
        'placeholder-1',
        'pen',
        'analytics',
        'monitor',
        'email',
        'speech-bubble',
        'suitcase',
        'communications',
        'cash',
        'twitter',
        'twitter-2',
        'instagram-logo',
        'instagram-1',
        'whatsapp-1',
        'linkedin-2',
        'twitter-1',
        'facebook-3',
        'whatsapp-2',
        'xiaomi',
        'odnoklassniki',
        'pinterest',
        'pinterest-1',
        'wifi',
        'light-bulb',
        'project-management',
        'monitor-1',
        'camera',
        'user',
        'advertising',
        'select',
        'snowflake',
        'snowflake-1',
        'travel-agency',
        'bauble',
        'temporary-agency',
        'star',
        'snow-globe',
        'christmas-tree',
        'gift',
        'mortgage',
        'monitoring',
        'network-1',
        'neural',
        'networking',
        'computing',
        'computing-1',
        'microchip',
        'social-care',
        'help',
        'begging',
        'customer-service',
        'support-2',
        'support-3',
        'customer-service-1',
        'customer-support',
        'headphones',
        'social-care-1',
        'care',
        'user-1',
        'phone',
        'search',
        'facebook-4',
        'pin',
        'user-2',
        'internet',
        'user-3',
        'chat-1',
        'team',
        'connection',
        'bar-chart',
        'money',
        'file',
        'linkedin-3',
        'pinterest-2',
        'google-browser',
        'gmail-1',
        'gmail-3',
        'vimeo',
        'vimeo-2',
        'skype',
        'skype-1',
        'skype-2',
        'skype-3',
        'google-plus-logo',
        'like',
        'clock',
        'loupe',
        'money-1',
        'hand-shake',
        'team-1',
        'money-2',
        'man',
        'value',
        'share',
        'time',
        'school',
        'chart',
        'data',
        'photo',
        'internet-1',
        'money-3',
        'payment',
        'pin-1',
        'time-1',
        'idea',
        'download',
        'growth',
        'multimedia',
        'network-2',
        'next-1',
        'origami',
        'share-1',
        'clock-1',
        'refresh',
        'avatar',
        'support-4',
        'cursor',
        'brain',
        'laptop',
        'arrow',
        'mortarboard',
        'avatar-1',
        'chat-2',
        'question',
        'test',
        'doctor',
        'support-5',
        'map-1',
        'eye',
        'money-4',
        'world',
        'school-1',
        'chat-3',
        'idea-1',
        'support-6',
        'diamond',
        'time-2',
        'bag',
        'contract',
        'report',
        'folder',
        'truck',
        'document',
        'plane',
        'time-3',
        'trash',
        'pin-2',
        'think',
        'idea-2',
        'download-1',
        'bell',
        'lock',
        'upload-1',
        'cinema',
        'goal',
        'work',
        'design',
        'search-1',
        'food',
        'alert',
        'brain-1',
        'book',
        'time-4',
        'shield-1',
        'time-5',
        'man-1',
        'brain-2',
        'water',
        'content',
        'data-1',
        'like-1',
        'time-6',
        'sign',
        'book-1',
        'adjust',
        'menu',
        'calendar',
        'eye-1',
        'clock-2',
        'share-2',
        'fingerprint',
        'signal',
        'lock-1',
        'water-1',
        'code',
        'repeat',
        'map-2',
        'message',
        'network-3',
        'more',
        'random',
        'sign-1',
        'mail-1',
        'adjust-1',
    );
    $iconfont_icons = array(
        'search',
        'down-arrow',
        'up-arrow',
        'right-arrow',
        'left-arrows',
        'heart',
        'medical2',
        'eye2',
        'full-screen',
        'shuffle-arrow',
        'online-shopping-cart',
        'shopping-cart2',
        'apple-1',
        'apple',
        'watch',
        'cogwheel',
        'light-bulb',
        'light-bulb-1',
        'u-turn',
        'medal',
        'team-1',
        'team2',
        'team',
        'tshirt',
        'cancel',
        'drink',
        'home2',
        'music',
        'rich',
        'brush',
        'opposite-way',
        'cloud-computing',
        'luxurylogy-1',
        'rotate',
        'medical',
        'flash-1',
        'flash',
        'hours-support',
        'bag',
        'photo-camera',
        'school',
        'settings',
        'smartphone2',
        'luxurylogy-12',
        'tool',
        'business2',
        'star',
        'van-1',
        'van',
        'vegetables',
        'women',
        'left-arrow',
        'vintage',
        'up-arrow2',
        'arrows',
        'download-arrow',
        'google-plus',
        'instagram',
        'minus',
        'plus',
        'tick',
        'edit',
        'reply',
        'cogwheel-outline',
        'symbol',
        'calendar',
        'shopping-cart',
        'shopping-basket',
        'users2',
        'man',
        'support',
        'favorites',
        'calendar3',
        'paper-plane',
        'placeholder',
        'phone-call',
        'newsletter',
        'contact',
        'email',
        'envelope',
        'internet',
        'tools2',
        'pie-chart2',
        'diamond',
        'like',
        'deal',
        'left-arrow2',
        'quote22',
        'right-arrow2',
        'coins-2',
        'commerce-2',
        'monitor',
        'business',
        'graphic-2',
        'commerce-1',
        'hammer',
        'justice-1',
        'line',
        'money-3',
        'commerce',
        'agenda',
        'justice',
        'luxurylogy',
        'coins-1',
        'bank',
        'calculator',
        'chart22',
        'checked',
        'clock3',
        'comment',
        'comments',
        'consult',
        'consut2',
        'folder',
        'invest',
        'loan',
        'map-marker2',
        'mutual-fund',
        'phone3',
        'pie-chart22',
        'play',
        'savings',
        'search3',
        'tag',
        'tags',
        'vplay',
        'mobile2',
        'laptop2',
        'desktop2',
        'tablet2',
        'phone2',
        'document',
        'documents',
        'search2',
        'clipboard2',
        'newspaper',
        'notebook',
        'book-open',
        'browser',
        'calendar2',
        'presentation',
        'picture',
        'pictures',
        'video',
        'camera2',
        'printer',
        'toolbox',
        'briefcase2',
        'wallet',
        'gift2',
        'bargraph',
        'grid',
        'expand2',
        'focus',
        'edit2',
        'adjustments',
        'ribbon',
        'hourglass2',
        'lock2',
        'megaphone',
        'shield2',
        'trophy2',
        'flag2',
        'map2',
        'puzzle',
        'basket',
        'envelope2',
        'streetsign',
        'telescope',
        'gears2',
        'key2',
        'paperclip2',
        'attachment',
        'lightbulb',
        'pricetags',
        'pencil2',
        'layers',
        'tools',
        'scissors2',
        'tools-2',
        'scissors2',
        'paintbrush',
        'magnifying-glass',
        'circle-compass',
        'linegraph',
        'mic',
        'strategy',
        'beaker',
        'caution',
        'recycle2',
        'anchor2',
        'profile-male',
        'profile-female',
        'bike',
        'wine',
        'hotairballoon',
        'globe2',
        'genius',
        'map-pin2',
        'dial',
        'chat',
        'heart2',
        'cloud2',
        'upload2',
        'download2',
        'target',
        'hazardous',
        'piechart',
        'speedometer',
        'global',
        'compass2',
        'lifesaver',
        'clock',
        'aperture',
        'quote',
        'scope',
        'alarmclock',
        'refresh2',
        'happy',
        'sad',
        'facebook2',
        'twitter2',
        'googleplus',
        'rss2',
        'tumblr2',
        'linkedin2',
        'dribbble2',
        'home',
        'apartment',
        'pencil',
        'magic-wand',
        'drop',
        'lighter',
        'poop',
        'sun',
        'moon',
        'cloud',
        'cloud-upload',
        'cloud-download',
        'cloud-sync',
        'cloud-check',
        'database',
        'lock3',
        'cog2',
        'trash2',
        'dice',
        'heart3',
        'star2',
        'star-half2',
        'star-empty',
        'flag3',
        'envelope3',
        'paperclip',
        'inbox',
        'eye',
        'printer2',
        'file-empty',
        'file-add',
        'enter',
        'exit',
        'graduation-hat',
        'license',
        'music-note',
        'film-play',
        'camera-video',
        'camera',
        'picture2',
        'book',
        'bookmark',
        'user2',
        'shirt',
        'store',
        'cart',
        'tag2',
        'phone-handset',
        'phone',
        'pushpin',
        'map-marker',
        'map',
        'location',
        'calendar-full',
        'keyboard',
        'spell-check',
        'screen',
        'smartphone',
        'tablet',
        'laptop',
        'laptop-phone',
        'power-switch',
        'bubble',
        'heart-pulse',
        'construction',
        'pie-chart',
        'chart-bars',
        'gift',
        'diamond2',
        'dinner',
        'coffee-cup',
        'leaf',
        'paw',
        'rocket',
        'briefcase',
        'bus2',
        'car2',
        'train',
        'bicycle2',
        'wheelchair',
        'select',
        'earth',
        'smile',
        'sad2',
        'neutral',
        'mustache',
        'alarm',
        'bullhorn',
        'volume-high',
        'volume-medium',
        'volume-low',
        'volume',
        'mic2',
        'hourglass',
        'undo',
        'redo',
        'sync',
        'history',
        'clock2',
        'download3',
        'upload',
        'enter-down',
        'exit-up',
        'bug',
        'code2',
        'link',
        'unlink',
        'thumbs-up',
        'thumbs-down',
        'magnifier',
        'cross',
        'menu',
        'list',
        'chevron-up',
        'chevron-down',
        'chevron-left',
        'chevron-right',
        'arrow-up',
        'arrow-down',
        'arrow-left',
        'arrow-right',
        'move',
        'warning',
        'question',
        'menu-circle',
        'checkmark-circle',
        'cross-circle',
        'plus-circle',
        'circle-minus',
        'arrow-up-circle',
        'arrow-down-circle',
        'arrow-left-circle',
        'arrow-right-circle',
        'chevron-up-circle',
        'chevron-down-circle',
        'chevron-left-circle',
        'chevron-right-circle',
        'crop',
        'frame-expand',
        'frame-contract',
        'layers2',
        'funnel',
        'text-format',
        'text-size',
        'bold',
        'italic',
        'underline',
        'strikethrough',
        'highlight',
        'text-align-left',
        'text-align-center',
        'text-align-right',
        'text-align-justify',
        'line-spacing',
        'indent-increase',
        'indent-decrease',
        'page-break',
        'hand',
        'pointer-up',
        'pointer-right',
        'pointer-down',
        'pointer-left',
    );
    $tabs['restly-flaticon'] = array(
        'name'          => 'restly-flaticon',
        'label'         => esc_html__( 'Flaticon', 'luxury' ),
        'labelIcon'     => 'eicon-nerd-chuckle',
        'prefix'        => 'flaticon-',
        'displayPrefix' => 'flaticon',
        'url'           => plugin_dir_url( __FILE__ ) . 'assets/css/flaticon.css',
        'icons'         => $flaticons,
        'ver'           => '1.0.0',
    );
    return $tabs;
}

add_filter( 'elementor/icons_manager/additional_tabs', 'restly_icons_library' );