<?php 
/*
 * ET: iconpicker 'pixeden' icons
 *
 * See 'vc_icon' element and: "../js_composer/include/params/iconpicker/iconpicker.php"
 */


/* Enqueue iconpicker icons */
function goya_vc_iconpicker_base_register_css() {
	// Pixeden icons
	wp_enqueue_style( 'pe-icons-filled', GOYA_THEME_URI . '/assets/icons/pe-icon-7-filled/css/pe-icon-7-filled.css' );
	wp_enqueue_style( 'pe-icons-stroke', GOYA_THEME_URI . '/assets/icons/pe-icon-7-stroke/css/pe-icon-7-stroke.css' );
};
add_action( 'vc_base_register_admin_css', 'goya_vc_iconpicker_base_register_css' );


/* Pixeden icons */
function goya_vc_iconpicker_type_pixeden( $icons ) {
	$pixeden_icons = array(
		'Pixeden Line Icons' => array(
			array( 'pe-7s-close' => 'close' ),
			array( 'pe-7s-close-circle' => 'close circle' ),
			array( 'pe-7s-angle-up' => 'angle up' ),
			array( 'pe-7s-angle-up-circle' => 'angle up circle' ),
			array( 'pe-7s-angle-right' => 'angle right' ),
			array( 'pe-7s-angle-right-circle' => 'angle right circle' ),
			array( 'pe-7s-angle-left' => 'angle left' ),
			array( 'pe-7s-angle-left-circle' => 'angle left circle' ),
			array( 'pe-7s-angle-down' => 'angle down' ),
			array( 'pe-7s-angle-down-circle' => 'angle down circle' ),
			array( 'pe-7s-wallet' => 'wallet' ),
			array( 'pe-7s-volume2' => 'volume2' ),
			array( 'pe-7s-volume1' => 'volume1' ),
			array( 'pe-7s-voicemail' => 'close' ),
			array( 'pe-7s-video' => 'video' ),
			array( 'pe-7s-user' => 'user' ),
			array( 'pe-7s-upload' => 'upload' ),
			array( 'pe-7s-unlock' => 'unlock' ),
			array( 'pe-7s-umbrella' => 'umbrella' ),
			array( 'pe-7s-trash' => 'trash' ),
			array( 'pe-7s-tools' => 'tools' ),
			array( 'pe-7s-timer' => 'timer' ),
			array( 'pe-7s-ticket' => 'ticket' ),
			array( 'pe-7s-target' => 'target' ),
			array( 'pe-7s-sun' => 'sun' ),
			array( 'pe-7s-study' => 'study' ),
			array( 'pe-7s-stopwatch' => 'stopwatch' ),
			array( 'pe-7s-star' => 'star' ),
			array( 'pe-7s-speaker' => 'speaker' ),
			array( 'pe-7s-signal' => 'signal' ),
			array( 'pe-7s-shuffle' => 'shuffle' ),
			array( 'pe-7s-shopbag' => 'shopbag' ),
			array( 'pe-7s-share' => 'share' ),
			array( 'pe-7s-server' => 'server' ),
			array( 'pe-7s-search' => 'search' ),
			array( 'pe-7s-science' => 'science' ),
			array( 'pe-7s-ribbon' => 'ribbon' ),
			array( 'pe-7s-repeat' => 'repeat' ),
			array( 'pe-7s-refresh' => 'refresh' ),
			array( 'pe-7s-refresh-cloud' => 'refresh cloud' ),
			array( 'pe-7s-radio' => 'radio' ),
			array( 'pe-7s-print' => 'print' ),
			array( 'pe-7s-prev' => 'prev' ),
			array( 'pe-7s-power' => 'power' ),
			array( 'pe-7s-portfolio' => 'portfolio' ),
			array( 'pe-7s-plus' => 'plus' ),
			array( 'pe-7s-play' => 'play' ),
			array( 'pe-7s-plane' => 'plane' ),
			array( 'pe-7s-photo-gallery' => 'photo gallery' ),
			array( 'pe-7s-phone' => 'phone' ),
			array( 'pe-7s-pen' => 'pen' ),
			array( 'pe-7s-paper-plane' => 'paper plane' ),
			array( 'pe-7s-paint' => 'paint' ),
			array( 'pe-7s-piggy' => 'piggy' ),
			array( 'pe-7s-notebook' => 'notebook' ),
			array( 'pe-7s-note' => 'note' ),
			array( 'pe-7s-next' => 'next' ),
			array( 'pe-7s-news-paper' => 'news paper' ),
			array( 'pe-7s-musiclist' => 'musiclist' ),
			array( 'pe-7s-music' => 'music' ),
			array( 'pe-7s-mouse' => 'mouse' ),
			array( 'pe-7s-more' => 'more' ),
			array( 'pe-7s-moon' => 'moon' ),
			array( 'pe-7s-monitor' => 'monitor' ),
			array( 'pe-7s-micro' => 'micro' ),
			array( 'pe-7s-menu' => 'menu' ),
			array( 'pe-7s-map' => 'map' ),
			array( 'pe-7s-map-marker' => 'map marker' ),
			array( 'pe-7s-mail' => 'mail' ),
			array( 'pe-7s-mail-open' => 'mail open' ),
			array( 'pe-7s-mail-open-file' => 'mail open file' ),
			array( 'pe-7s-magnet' => 'magnet' ),
			array( 'pe-7s-loop' => 'loop' ),
			array( 'pe-7s-look' => 'look' ),
			array( 'pe-7s-lock' => 'lock' ),
			array( 'pe-7s-lintern' => 'lintern' ),
			array( 'pe-7s-link' => 'link' ),
			array( 'pe-7s-like' => 'like' ),
			array( 'pe-7s-light' => 'light' ),
			array( 'pe-7s-less' => 'less' ),
			array( 'pe-7s-keypad' => 'keypad' ),
			array( 'pe-7s-junk' => 'junk' ),
			array( 'pe-7s-info' => 'info' ),
			array( 'pe-7s-home' => 'home' ),
			array( 'pe-7s-help2' => 'help2' ),
			array( 'pe-7s-help1' => 'help1' ),
			array( 'pe-7s-graph3' => 'graph3' ),
			array( 'pe-7s-graph2' => 'graph2' ),
			array( 'pe-7s-graph1' => 'graph1' ),
			array( 'pe-7s-graph' => 'graph' ),
			array( 'pe-7s-global' => 'global' ),
			array( 'pe-7s-gleam' => 'gleam' ),
			array( 'pe-7s-glasses' => 'glasses' ),
			array( 'pe-7s-gift' => 'gift' ),
			array( 'pe-7s-folder' => 'folder' ),
			array( 'pe-7s-flag' => 'flag' ),
			array( 'pe-7s-filter' => 'filter' ),
			array( 'pe-7s-file' => 'file' ),
			array( 'pe-7s-expand1' => 'expand1' ),
			array( 'pe-7s-exapnd2' => 'exapnd2' ),
			array( 'pe-7s-edit' => 'edit' ),
			array( 'pe-7s-drop' => 'drop' ),
			array( 'pe-7s-drawer' => 'drawer' ),
			array( 'pe-7s-download' => 'download' ),
			array( 'pe-7s-display2' => 'display2' ),
			array( 'pe-7s-display1' => 'display1' ),
			array( 'pe-7s-diskette' => 'diskette' ),
			array( 'pe-7s-date' => 'date' ),
			array( 'pe-7s-cup' => 'cup' ),
			array( 'pe-7s-culture' => 'culture' ),
			array( 'pe-7s-crop' => 'crop' ),
			array( 'pe-7s-credit' => 'credit' ),
			array( 'pe-7s-copy-file' => 'copy file' ),
			array( 'pe-7s-config' => 'config' ),
			array( 'pe-7s-compass' => 'compass' ),
			array( 'pe-7s-comment' => 'comment' ),
			array( 'pe-7s-coffee' => 'coffee' ),
			array( 'pe-7s-cloud' => 'cloud' ),
			array( 'pe-7s-clock' => 'clock' ),
			array( 'pe-7s-check' => 'check' ),
			array( 'pe-7s-chat' => 'chat' ),
			array( 'pe-7s-cart' => 'cart' ),
			array( 'pe-7s-camera' => 'camera' ),
			array( 'pe-7s-call' => 'call' ),
			array( 'pe-7s-calculator' => 'calculator' ),
			array( 'pe-7s-browser' => 'browser' ),
			array( 'pe-7s-box2' => 'box2' ),
			array( 'pe-7s-box1' => 'box1' ),
			array( 'pe-7s-bookmarks' => 'bookmarks' ),
			array( 'pe-7s-bicycle' => 'bicycle' ),
			array( 'pe-7s-bell' => 'bell' ),
			array( 'pe-7s-battery' => 'battery' ),
			array( 'pe-7s-ball' => 'ball' ),
			array( 'pe-7s-back' => 'back' ),
			array( 'pe-7s-attention' => 'attention' ),
			array( 'pe-7s-anchor' => 'anchor' ),
			array( 'pe-7s-albums' => 'albums' ),
			array( 'pe-7s-alarm' => 'alarm' ),
			array( 'pe-7s-airplay' => 'airplay' ),
			array( 'pe-7s-cloud-upload' => 'cloud upload' ),
			array( 'pe-7s-cloud-download' => 'loud download'  )
		),
		'Pixeden Filled Icons' => array(
			array( 'pe-7f-close' => 'close' ),
			array( 'pe-7f-angle-up' => 'angle up' ),
			array( 'pe-7f-angle-right' => 'angle right' ),
			array( 'pe-7f-angle-left' => 'angle left' ),
			array( 'pe-7f-angle-down' => 'angle down' ),
			array( 'pe-7f-wallet' => 'wallet' ),
			array( 'pe-7f-volume2' => 'volume2' ),
			array( 'pe-7f-volume1' => 'volume1' ),
			array( 'pe-7f-voicemail' => 'close' ),
			array( 'pe-7f-video' => 'video' ),
			array( 'pe-7f-user' => 'user' ),
			array( 'pe-7f-upload' => 'upload' ),
			array( 'pe-7f-unlock' => 'unlock' ),
			array( 'pe-7f-umbrella' => 'umbrella' ),
			array( 'pe-7f-trash' => 'trash' ),
			array( 'pe-7f-tools' => 'tools' ),
			array( 'pe-7f-timer' => 'timer' ),
			array( 'pe-7f-ticket' => 'ticket' ),
			array( 'pe-7f-target' => 'target' ),
			array( 'pe-7f-sun' => 'sun' ),
			array( 'pe-7f-study' => 'study' ),
			array( 'pe-7f-stopwatch' => 'stopwatch' ),
			array( 'pe-7f-star' => 'star' ),
			array( 'pe-7f-speaker' => 'speaker' ),
			array( 'pe-7f-signal' => 'signal' ),
			array( 'pe-7f-shuffle' => 'shuffle' ),
			array( 'pe-7f-shopbag' => 'shopbag' ),
			array( 'pe-7f-share' => 'share' ),
			array( 'pe-7f-server' => 'server' ),
			array( 'pe-7f-search' => 'search' ),
			array( 'pe-7f-science' => 'science' ),
			array( 'pe-7f-ribbon' => 'ribbon' ),
			array( 'pe-7f-repeat' => 'repeat' ),
			array( 'pe-7f-refresh' => 'refresh' ),
			array( 'pe-7f-refresh-cloud' => 'refresh cloud' ),
			array( 'pe-7f-radio' => 'radio' ),
			array( 'pe-7f-print' => 'print' ),
			array( 'pe-7f-prev' => 'prev' ),
			array( 'pe-7f-power' => 'power' ),
			array( 'pe-7f-portfolio' => 'portfolio' ),
			array( 'pe-7f-plus' => 'plus' ),
			array( 'pe-7f-play' => 'play' ),
			array( 'pe-7f-plane' => 'plane' ),
			array( 'pe-7f-photo-gallery' => 'photo gallery' ),
			array( 'pe-7f-phone' => 'phone' ),
			array( 'pe-7f-pen' => 'pen' ),
			array( 'pe-7f-paper-plane' => 'paper plane' ),
			array( 'pe-7f-paint' => 'paint' ),
			array( 'pe-7f-piggy' => 'piggy' ),
			array( 'pe-7f-notebook' => 'notebook' ),
			array( 'pe-7f-note' => 'note' ),
			array( 'pe-7f-next' => 'next' ),
			array( 'pe-7f-news-paper' => 'news paper' ),
			array( 'pe-7f-musiclist' => 'musiclist' ),
			array( 'pe-7f-music' => 'music' ),
			array( 'pe-7f-mouse' => 'mouse' ),
			array( 'pe-7f-more' => 'more' ),
			array( 'pe-7f-moon' => 'moon' ),
			array( 'pe-7f-monitor' => 'monitor' ),
			array( 'pe-7f-micro' => 'micro' ),
			array( 'pe-7f-menu' => 'menu' ),
			array( 'pe-7f-map' => 'map' ),
			array( 'pe-7f-map-marker' => 'map marker' ),
			array( 'pe-7f-mail' => 'mail' ),
			array( 'pe-7f-mail-open' => 'mail open' ),
			array( 'pe-7f-mail-open-file' => 'mail open file' ),
			array( 'pe-7f-magnet' => 'magnet' ),
			array( 'pe-7f-loop' => 'loop' ),
			array( 'pe-7f-look' => 'look' ),
			array( 'pe-7f-lock' => 'lock' ),
			array( 'pe-7f-lintern' => 'lintern' ),
			array( 'pe-7f-link' => 'link' ),
			array( 'pe-7f-like' => 'like' ),
			array( 'pe-7f-light' => 'light' ),
			array( 'pe-7f-less' => 'less' ),
			array( 'pe-7f-keypad' => 'keypad' ),
			array( 'pe-7f-junk' => 'junk' ),
			array( 'pe-7f-info' => 'info' ),
			array( 'pe-7f-home' => 'home' ),
			array( 'pe-7f-help2' => 'help2' ),
			array( 'pe-7f-help1' => 'help1' ),
			array( 'pe-7f-graph3' => 'graph3' ),
			array( 'pe-7f-graph2' => 'graph2' ),
			array( 'pe-7f-graph1' => 'graph1' ),
			array( 'pe-7f-graph' => 'graph' ),
			array( 'pe-7f-global' => 'global' ),
			array( 'pe-7f-gleam' => 'gleam' ),
			array( 'pe-7f-glasses' => 'glasses' ),
			array( 'pe-7f-gift' => 'gift' ),
			array( 'pe-7f-folder' => 'folder' ),
			array( 'pe-7f-flag' => 'flag' ),
			array( 'pe-7f-filter' => 'filter' ),
			array( 'pe-7f-file' => 'file' ),
			array( 'pe-7f-expand1' => 'expand1' ),
			array( 'pe-7f-edit' => 'edit' ),
			array( 'pe-7f-drop' => 'drop' ),
			array( 'pe-7f-drawer' => 'drawer' ),
			array( 'pe-7f-download' => 'download' ),
			array( 'pe-7f-display2' => 'display2' ),
			array( 'pe-7f-display1' => 'display1' ),
			array( 'pe-7f-diskette' => 'diskette' ),
			array( 'pe-7f-date' => 'date' ),
			array( 'pe-7f-cup' => 'cup' ),
			array( 'pe-7f-culture' => 'culture' ),
			array( 'pe-7f-crop' => 'crop' ),
			array( 'pe-7f-credit' => 'credit' ),
			array( 'pe-7f-copy-file' => 'copy file' ),
			array( 'pe-7f-config' => 'config' ),
			array( 'pe-7f-compass' => 'compass' ),
			array( 'pe-7f-comment' => 'comment' ),
			array( 'pe-7f-coffee' => 'coffee' ),
			array( 'pe-7f-cloud' => 'cloud' ),
			array( 'pe-7f-clock' => 'clock' ),
			array( 'pe-7f-check' => 'check' ),
			array( 'pe-7f-chat' => 'chat' ),
			array( 'pe-7f-cart' => 'cart' ),
			array( 'pe-7f-camera' => 'camera' ),
			array( 'pe-7f-call' => 'call' ),
			array( 'pe-7f-calculator' => 'calculator' ),
			array( 'pe-7f-browser' => 'browser' ),
			array( 'pe-7f-box1' => 'box1' ),
			array( 'pe-7f-bookmarks' => 'bookmarks' ),
			array( 'pe-7f-bicycle' => 'bicycle' ),
			array( 'pe-7f-bell' => 'bell' ),
			array( 'pe-7f-battery' => 'battery' ),
			array( 'pe-7f-ball' => 'ball' ),
			array( 'pe-7f-back' => 'back' ),
			array( 'pe-7f-attention' => 'attention' ),
			array( 'pe-7f-anchor' => 'anchor' ),
			array( 'pe-7f-albums' => 'albums' ),
			array( 'pe-7f-alarm' => 'alarm' ),
			array( 'pe-7f-airplay' => 'airplay' ),
			array( 'pe-7f-cloud-upload' => 'cloud upload' ),
			array( 'pe-7f-cloud-download' => 'loud download'  )
		)
	);
		
	return array_merge( $icons, $pixeden_icons );
}

add_filter( 'vc_iconpicker-type-pixeden', 'goya_vc_iconpicker_type_pixeden' );
