Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
798 lines (791 sloc) 49 KB
// Add new custom font to Font Family selection in icon box module
function bon_add_ionicons( ) {
$param = WPBMap::getParam( 'vc_icon', 'type' );
$param['value'][__( 'Ionicons', 'bon' )] = 'ionicons';
vc_update_shortcode_param( 'vc_icon', $param );
}
add_filter( 'init', 'bon_add_ionicons', 40 );
// Add font picker setting to icon box module when you select your font family from the dropdown
function bon_add_font_picker() {
vc_add_param( 'vc_icon', array(
'type' => 'iconpicker',
'weight' => 1,
'heading' => esc_html__( 'Icon', 'bon' ),
'param_name' => 'icon_ionicons',
'settings' => array(
'emptyIcon' => false,
'type' => 'ionicons',
'iconsPerPage' => 200,
),
'dependency' => array(
'element' => 'type',
'value' => 'ionicons',
),
)
);
}
add_filter( 'vc_after_init', 'bon_add_font_picker', 40 );
// Add array of your fonts so they can be displayed in the font selector
function bon_icon_array() {
return array(
array('ionicons ion-alert' => 'alert'),
array('ionicons ion-alert-circled' => 'alert-circled'),
array('ionicons ion-android-add' => 'android-add'),
array('ionicons ion-android-add-circle' => 'android-add-circle'),
array('ionicons ion-android-alarm-clock' => 'android-alarm-clock'),
array('ionicons ion-android-alert' => 'android-alert'),
array('ionicons ion-android-apps' => 'android-apps'),
array('ionicons ion-android-archive' => 'android-archive'),
array('ionicons ion-android-arrow-back' => 'android-arrow-back'),
array('ionicons ion-android-arrow-down' => 'android-arrow-down'),
array('ionicons ion-android-arrow-dropdown' => 'android-arrow-dropdown'),
array('ionicons ion-android-arrow-dropdown-circle' => 'android-arrow-dropdown-circle'),
array('ionicons ion-android-arrow-dropleft' => 'android-arrow-dropleft'),
array('ionicons ion-android-arrow-dropleft-circle' => 'android-arrow-dropleft-circle'),
array('ionicons ion-android-arrow-dropright' => 'android-arrow-dropright'),
array('ionicons ion-android-arrow-dropright-circle' => 'android-arrow-dropright-circle'),
array('ionicons ion-android-arrow-dropup' => 'android-arrow-dropup'),
array('ionicons ion-android-arrow-dropup-circle' => 'android-arrow-dropup-circle'),
array('ionicons ion-android-arrow-forward' => 'android-arrow-forward'),
array('ionicons ion-android-arrow-up' => 'android-arrow-up'),
array('ionicons ion-android-attach' => 'android-attach'),
array('ionicons ion-android-bar' => 'android-bar'),
array('ionicons ion-android-bicycle' => 'android-bicycle'),
array('ionicons ion-android-boat' => 'android-boat'),
array('ionicons ion-android-bookmark' => 'android-bookmark'),
array('ionicons ion-android-bulb' => 'android-bulb'),
array('ionicons ion-android-bus' => 'android-bus'),
array('ionicons ion-android-calendar' => 'android-calendar'),
array('ionicons ion-android-call' => 'android-call'),
array('ionicons ion-android-camera' => 'android-camera'),
array('ionicons ion-android-cancel' => 'android-cancel'),
array('ionicons ion-android-car' => 'android-car'),
array('ionicons ion-android-cart' => 'android-cart'),
array('ionicons ion-android-chat' => 'android-chat'),
array('ionicons ion-android-checkbox' => 'android-checkbox'),
array('ionicons ion-android-checkbox-blank' => 'android-checkbox-blank'),
array('ionicons ion-android-checkbox-outline' => 'android-checkbox-outline'),
array('ionicons ion-android-checkbox-outline-blank' => 'android-checkbox-outline-blank'),
array('ionicons ion-android-checkmark-circle' => 'android-checkmark-circle'),
array('ionicons ion-android-clipboard' => 'android-clipboard'),
array('ionicons ion-android-close' => 'android-close'),
array('ionicons ion-android-cloud' => 'android-cloud'),
array('ionicons ion-android-cloud-circle' => 'android-cloud-circle'),
array('ionicons ion-android-cloud-done' => 'android-cloud-done'),
array('ionicons ion-android-cloud-outline' => 'android-cloud-outline'),
array('ionicons ion-android-color-palette' => 'android-color-palette'),
array('ionicons ion-android-compass' => 'android-compass'),
array('ionicons ion-android-contact' => 'android-contact'),
array('ionicons ion-android-contacts' => 'android-contacts'),
array('ionicons ion-android-contract' => 'android-contract'),
array('ionicons ion-android-create' => 'android-create'),
array('ionicons ion-android-delete' => 'android-delete'),
array('ionicons ion-android-desktop' => 'android-desktop'),
array('ionicons ion-android-document' => 'android-document'),
array('ionicons ion-android-done' => 'android-done'),
array('ionicons ion-android-done-all' => 'android-done-all'),
array('ionicons ion-android-download' => 'android-download'),
array('ionicons ion-android-drafts' => 'android-drafts'),
array('ionicons ion-android-exit' => 'android-exit'),
array('ionicons ion-android-expand' => 'android-expand'),
array('ionicons ion-android-favorite' => 'android-favorite'),
array('ionicons ion-android-favorite-outline' => 'android-favorite-outline'),
array('ionicons ion-android-film' => 'android-film'),
array('ionicons ion-android-folder' => 'android-folder'),
array('ionicons ion-android-folder-open' => 'android-folder-open'),
array('ionicons ion-android-funnel' => 'android-funnel'),
array('ionicons ion-android-globe' => 'android-globe'),
array('ionicons ion-android-hand' => 'android-hand'),
array('ionicons ion-android-hangout' => 'android-hangout'),
array('ionicons ion-android-happy' => 'android-happy'),
array('ionicons ion-android-home' => 'android-home'),
array('ionicons ion-android-image' => 'android-image'),
array('ionicons ion-android-laptop' => 'android-laptop'),
array('ionicons ion-android-list' => 'android-list'),
array('ionicons ion-android-locate' => 'android-locate'),
array('ionicons ion-android-lock' => 'android-lock'),
array('ionicons ion-android-mail' => 'android-mail'),
array('ionicons ion-android-map' => 'android-map'),
array('ionicons ion-android-menu' => 'android-menu'),
array('ionicons ion-android-microphone' => 'android-microphone'),
array('ionicons ion-android-microphone-off' => 'android-microphone-off'),
array('ionicons ion-android-more-horizontal' => 'android-more-horizontal'),
array('ionicons ion-android-more-vertical' => 'android-more-vertical'),
array('ionicons ion-android-navigate' => 'android-navigate'),
array('ionicons ion-android-notifications' => 'android-notifications'),
array('ionicons ion-android-notifications-none' => 'android-notifications-none'),
array('ionicons ion-android-notifications-off' => 'android-notifications-off'),
array('ionicons ion-android-open' => 'android-open'),
array('ionicons ion-android-options' => 'android-options'),
array('ionicons ion-android-people' => 'android-people'),
array('ionicons ion-android-person' => 'android-person'),
array('ionicons ion-android-person-add' => 'android-person-add'),
array('ionicons ion-android-phone-landscape' => 'android-phone-landscape'),
array('ionicons ion-android-phone-portrait' => 'android-phone-portrait'),
array('ionicons ion-android-pin' => 'android-pin'),
array('ionicons ion-android-plane' => 'android-plane'),
array('ionicons ion-android-playstore' => 'android-playstore'),
array('ionicons ion-android-print' => 'android-print'),
array('ionicons ion-android-radio-button-off' => 'android-radio-button-off'),
array('ionicons ion-android-radio-button-on' => 'android-radio-button-on'),
array('ionicons ion-android-refresh' => 'android-refresh'),
array('ionicons ion-android-remove' => 'android-remove'),
array('ionicons ion-android-remove-circle' => 'android-remove-circle'),
array('ionicons ion-android-restaurant' => 'android-restaurant'),
array('ionicons ion-android-sad' => 'android-sad'),
array('ionicons ion-android-search' => 'android-search'),
array('ionicons ion-android-send' => 'android-send'),
array('ionicons ion-android-settings' => 'android-settings'),
array('ionicons ion-android-share' => 'android-share'),
array('ionicons ion-android-share-alt' => 'android-share-alt'),
array('ionicons ion-android-star' => 'android-star'),
array('ionicons ion-android-star-half' => 'android-star-half'),
array('ionicons ion-android-star-outline' => 'android-star-outline'),
array('ionicons ion-android-stopwatch' => 'android-stopwatch'),
array('ionicons ion-android-subway' => 'android-subway'),
array('ionicons ion-android-sunny' => 'android-sunny'),
array('ionicons ion-android-sync' => 'android-sync'),
array('ionicons ion-android-textsms' => 'android-textsms'),
array('ionicons ion-android-time' => 'android-time'),
array('ionicons ion-android-train' => 'android-train'),
array('ionicons ion-android-unlock' => 'android-unlock'),
array('ionicons ion-android-upload' => 'android-upload'),
array('ionicons ion-android-volume-down' => 'android-volume-down'),
array('ionicons ion-android-volume-mute' => 'android-volume-mute'),
array('ionicons ion-android-volume-off' => 'android-volume-off'),
array('ionicons ion-android-volume-up' => 'android-volume-up'),
array('ionicons ion-android-walk' => 'android-walk'),
array('ionicons ion-android-warning' => 'android-warning'),
array('ionicons ion-android-watch' => 'android-watch'),
array('ionicons ion-android-wifi' => 'android-wifi'),
array('ionicons ion-aperture' => 'aperture'),
array('ionicons ion-archive' => 'archive'),
array('ionicons ion-arrow-down-a' => 'arrow-down-a'),
array('ionicons ion-arrow-down-b' => 'arrow-down-b'),
array('ionicons ion-arrow-down-c' => 'arrow-down-c'),
array('ionicons ion-arrow-expand' => 'arrow-expand'),
array('ionicons ion-arrow-graph-down-left' => 'arrow-graph-down-left'),
array('ionicons ion-arrow-graph-down-right' => 'arrow-graph-down-right'),
array('ionicons ion-arrow-graph-up-left' => 'arrow-graph-up-left'),
array('ionicons ion-arrow-graph-up-right' => 'arrow-graph-up-right'),
array('ionicons ion-arrow-left-a' => 'arrow-left-a'),
array('ionicons ion-arrow-left-b' => 'arrow-left-b'),
array('ionicons ion-arrow-left-c' => 'arrow-left-c'),
array('ionicons ion-arrow-move' => 'arrow-move'),
array('ionicons ion-arrow-resize' => 'arrow-resize'),
array('ionicons ion-arrow-return-left' => 'arrow-return-left'),
array('ionicons ion-arrow-return-right' => 'arrow-return-right'),
array('ionicons ion-arrow-right-a' => 'arrow-right-a'),
array('ionicons ion-arrow-right-b' => 'arrow-right-b'),
array('ionicons ion-arrow-right-c' => 'arrow-right-c'),
array('ionicons ion-arrow-shrink' => 'arrow-shrink'),
array('ionicons ion-arrow-swap' => 'arrow-swap'),
array('ionicons ion-arrow-up-a' => 'arrow-up-a'),
array('ionicons ion-arrow-up-b' => 'arrow-up-b'),
array('ionicons ion-arrow-up-c' => 'arrow-up-c'),
array('ionicons ion-asterisk' => 'asterisk'),
array('ionicons ion-at' => 'at'),
array('ionicons ion-backspace' => 'backspace'),
array('ionicons ion-backspace-outline' => 'backspace-outline'),
array('ionicons ion-bag' => 'bag'),
array('ionicons ion-battery-charging' => 'battery-charging'),
array('ionicons ion-battery-empty' => 'battery-empty'),
array('ionicons ion-battery-full' => 'battery-full'),
array('ionicons ion-battery-half' => 'battery-half'),
array('ionicons ion-battery-low' => 'battery-low'),
array('ionicons ion-beaker' => 'beaker'),
array('ionicons ion-beer' => 'beer'),
array('ionicons ion-bluetooth' => 'beer'),
array('ionicons ion-bonfire' => 'bonfire'),
array('ionicons ion-bookmark' => 'bookmark'),
array('ionicons ion-bowtie' => 'bowtie'),
array('ionicons ion-briefcase' => 'briefcase'),
array('ionicons ion-bug' => 'bug'),
array('ionicons ion-calculator' => 'calculator'),
array('ionicons ion-calendar' => 'calendar'),
array('ionicons ion-camera' => 'camera'),
array('ionicons ion-card' => 'card'),
array('ionicons ion-cash' => 'cash'),
array('ionicons ion-chatbox' => 'chatbox'),
array('ionicons ion-chatbox-working' => 'chatbox-working'),
array('ionicons ion-chatboxes' => 'chatboxes'),
array('ionicons ion-chatbubble' => 'chatbubble'),
array('ionicons ion-chatbubble-working' => 'chatbubble-working'),
array('ionicons ion-chatbubbles' => 'chatbubbles'),
array('ionicons ion-checkmark' => 'checkmark'),
array('ionicons ion-checkmark-circled' => 'checkmark-circled'),
array('ionicons ion-checkmark-round' => 'checkmark-round'),
array('ionicons ion-chevron-down' => 'chevron-down'),
array('ionicons ion-chevron-left' => 'chevron-left'),
array('ionicons ion-chevron-right' => 'chevron-right'),
array('ionicons ion-chevron-up' => 'chevron-up'),
array('ionicons ion-clipboard' => 'clipboard'),
array('ionicons ion-clock' => 'clock'),
array('ionicons ion-close' => 'close'),
array('ionicons ion-close-circled' => 'close-circled'),
array('ionicons ion-close-round' => 'close-round'),
array('ionicons ion-closed-captioning' => 'closed-captioning'),
array('ionicons ion-cloud' => 'cloud'),
array('ionicons ion-code' => 'code'),
array('ionicons ion-code-download' => 'code-download'),
array('ionicons ion-code-working' => 'code-working'),
array('ionicons ion-coffee' => 'coffee'),
array('ionicons ion-compass' => 'compass'),
array('ionicons ion-compose' => 'compose'),
array('ionicons ion-connection-bars' => 'connection-bars'),
array('ionicons ion-contrast' => 'contrast'),
array('ionicons ion-crop' => 'crop'),
array('ionicons ion-cube' => 'cube'),
array('ionicons ion-disc' => 'disc'),
array('ionicons ion-document' => 'document'),
array('ionicons ion-document-text' => 'document-text'),
array('ionicons ion-drag' => 'drag'),
array('ionicons ion-earth' => 'earth'),
array('ionicons ion-easel' => 'easel'),
array('ionicons ion-edit' => 'edit'),
array('ionicons ion-egg' => 'egg'),
array('ionicons ion-eject' => 'eject'),
array('ionicons ion-email' => 'email'),
array('ionicons ion-email-unread' => 'email-unread'),
array('ionicons ion-erlenmeyer-flask' => 'erlenmeyer-flask'),
array('ionicons ion-erlenmeyer-flask-bubbles' => 'erlenmeyer-flask-bubbles'),
array('ionicons ion-eye' => 'eye'),
array('ionicons ion-eye-disabled' => 'eye-disabled'),
array('ionicons ion-female' => 'female'),
array('ionicons ion-filing' => 'filing'),
array('ionicons ion-film-marker' => 'film-marker'),
array('ionicons ion-fireball' => 'fireball'),
array('ionicons ion-flag' => 'flag'),
array('ionicons ion-flame' => 'flame'),
array('ionicons ion-flash' => 'flash'),
array('ionicons ion-flash-off' => 'flash-off'),
array('ionicons ion-folder' => 'folder'),
array('ionicons ion-fork' => 'fork'),
array('ionicons ion-fork-repo' => 'fork-repo'),
array('ionicons ion-forward' => 'forward'),
array('ionicons ion-funnel' => 'funnel'),
array('ionicons ion-gear-a' => 'gear-a'),
array('ionicons ion-gear-b' => 'gear-b'),
array('ionicons ion-grid' => 'grid'),
array('ionicons ion-hammer' => 'hammer'),
array('ionicons ion-happy' => 'happy'),
array('ionicons ion-happy-outline' => 'happy-outline'),
array('ionicons ion-headphone' => 'headphone'),
array('ionicons ion-heart' => 'heart'),
array('ionicons ion-heart-broken' => 'heart-broken'),
array('ionicons ion-help' => 'help'),
array('ionicons ion-help-buoy' => 'help-buoy'),
array('ionicons ion-help-circled' => 'help-circled'),
array('ionicons ion-home' => 'home'),
array('ionicons ion-icecream' => 'icecream'),
array('ionicons ion-image' => 'image'),
array('ionicons ion-images' => 'images'),
array('ionicons ion-information' => 'information'),
array('ionicons ion-information-circled' => 'information-circled'),
array('ionicons ion-ionic' => 'ionic'),
array('ionicons ion-ios-alarm' => 'ios-alarm'),
array('ionicons ion-ios-alarm-outline' => 'ios-alarm-outline'),
array('ionicons ion-ios-albums' => 'ios-albums'),
array('ionicons ion-ios-albums-outline' => 'ios-albums-outline'),
array('ionicons ion-ios-americanfootball' => 'ios-americanfootball'),
array('ionicons ion-ios-americanfootball-outline' => 'ios-americanfootball-outline'),
array('ionicons ion-ios-analytics' => 'ios-analytics'),
array('ionicons ion-ios-analytics-outline' => 'ios-analytics-outline'),
array('ionicons ion-ios-arrow-back' => 'ios-arrow-back'),
array('ionicons ion-ios-arrow-down' => 'ios-arrow-down'),
array('ionicons ion-ios-arrow-forward' => 'ios-arrow-forward'),
array('ionicons ion-ios-arrow-left' => 'ios-arrow-left'),
array('ionicons ion-ios-arrow-right' => 'ios-arrow-right'),
array('ionicons ion-ios-arrow-thin-down' => 'ios-arrow-thin-down'),
array('ionicons ion-ios-arrow-thin-left' => 'ios-arrow-thin-left'),
array('ionicons ion-ios-arrow-thin-right' => 'ios-arrow-thin-right'),
array('ionicons ion-ios-arrow-thin-up' => 'ios-arrow-thin-up'),
array('ionicons ion-ios-arrow-up' => 'ios-arrow-up'),
array('ionicons ion-ios-at' => 'ios-at'),
array('ionicons ion-ios-at-outline' => 'ios-at-outline'),
array('ionicons ion-ios-barcode' => 'ios-barcode'),
array('ionicons ion-ios-barcode-outline' => 'ios-barcode-outline'),
array('ionicons ion-ios-baseball' => 'ios-baseball'),
array('ionicons ion-ios-baseball-outline' => 'ios-baseball-outline'),
array('ionicons ion-ios-basketball' => 'ios-basketball'),
array('ionicons ion-ios-basketball-outline' => 'ios-basketball-outline'),
array('ionicons ion-ios-bell' => 'ios-bell'),
array('ionicons ion-ios-bell-outline' => 'ios-bell-outline'),
array('ionicons ion-ios-body' => 'ios-body'),
array('ionicons ion-ios-body-outline' => 'ios-body-outline'),
array('ionicons ion-ios-bolt' => 'ios-bolt'),
array('ionicons ion-ios-bolt-outline' => 'ios-bolt-outline'),
array('ionicons ion-ios-book' => 'ios-book'),
array('ionicons ion-ios-book-outline' => 'ios-book-outline'),
array('ionicons ion-ios-bookmarks' => 'ios-bookmarks'),
array('ionicons ion-ios-bookmarks-outline' => 'ios-bookmarks-outline'),
array('ionicons ion-ios-box' => 'ios-box'),
array('ionicons ion-ios-box-outline' => 'ios-box-outline'),
array('ionicons ion-ios-briefcase' => 'ios-briefcase'),
array('ionicons ion-ios-briefcase-outline' => 'ios-briefcase-outline'),
array('ionicons ion-ios-browsers' => 'ios-browsers'),
array('ionicons ion-ios-browsers-outline' => 'ios-browsers-outline'),
array('ionicons ion-ios-calculator' => 'ios-calculator'),
array('ionicons ion-ios-calculator-outline' => 'ios-calculator-outline'),
array('ionicons ion-ios-calendar' => 'ios-calendar'),
array('ionicons ion-ios-calendar-outline' => 'ios-calendar-outline'),
array('ionicons ion-ios-camera' => 'ios-camera'),
array('ionicons ion-ios-camera-outline' => 'ios-camera-outline'),
array('ionicons ion-ios-cart' => 'ios-cart'),
array('ionicons ion-ios-cart-outline' => 'ios-cart-outline'),
array('ionicons ion-ios-chatboxes' => 'ios-chatboxes'),
array('ionicons ion-ios-chatboxes-outline' => 'ios-chatboxes-outline'),
array('ionicons ion-ios-chatbubble' => 'ios-chatbubble'),
array('ionicons ion-ios-chatbubble-outline' => 'ios-chatbubble-outline'),
array('ionicons ion-ios-checkmark' => 'ios-checkmark'),
array('ionicons ion-ios-checkmark-empty' => 'ios-checkmark-empty'),
array('ionicons ion-ios-checkmark-outline' => 'ios-checkmark-outline'),
array('ionicons ion-ios-circle-filled' => 'ios-circle-filled'),
array('ionicons ion-ios-circle-outline' => 'ios-circle-outline'),
array('ionicons ion-ios-clock' => 'ios-clock'),
array('ionicons ion-ios-clock-outline' => 'ios-clock-outline'),
array('ionicons ion-ios-close' => 'ios-close'),
array('ionicons ion-ios-close-empty' => 'ios-close-empty'),
array('ionicons ion-ios-close-outline' => 'ios-close-outline'),
array('ionicons ion-ios-cloud' => 'ios-cloud'),
array('ionicons ion-ios-cloud-download' => 'ios-cloud-download'),
array('ionicons ion-ios-cloud-download-outline' => 'ios-cloud-download-outline'),
array('ionicons ion-ios-cloud-outline' => 'ios-cloud-outline'),
array('ionicons ion-ios-cloud-upload' => 'ios-cloud-upload'),
array('ionicons ion-ios-cloud-upload-outline' => 'ios-cloud-upload-outline'),
array('ionicons ion-ios-cloudy' => 'ios-cloudy'),
array('ionicons ion-ios-cloudy-night' => 'ios-cloudy-night'),
array('ionicons ion-ios-cloudy-night-outline' => 'ios-cloudy-night-outline'),
array('ionicons ion-ios-cloudy-outline' => 'ios-cloudy-outline'),
array('ionicons ion-ios-cog' => 'ios-cog'),
array('ionicons ion-ios-cog-outline' => 'ios-cog-outline'),
array('ionicons ion-ios-color-filter' => 'ios-color-filter'),
array('ionicons ion-ios-color-filter-outline' => 'ios-color-filter-outline'),
array('ionicons ion-ios-color-wand' => 'ios-color-wand'),
array('ionicons ion-ios-color-wand-outline' => 'ios-color-wand-outline'),
array('ionicons ion-ios-compose' => 'ios-compose'),
array('ionicons ion-ios-compose-outline' => 'ios-compose-outline'),
array('ionicons ion-ios-contact' => 'ios-contact'),
array('ionicons ion-ios-contact-outline' => 'ios-contact-outline'),
array('ionicons ion-ios-copy' => 'ios-copy'),
array('ionicons ion-ios-copy-outline' => 'ios-copy-outline'),
array('ionicons ion-ios-crop' => 'ios-crop'),
array('ionicons ion-ios-crop-strong' => 'ios-crop-strong'),
array('ionicons ion-ios-download' => 'ios-download'),
array('ionicons ion-ios-download-outline' => 'ios-download-outline'),
array('ionicons ion-ios-drag' => 'ios-drag'),
array('ionicons ion-ios-email' => 'ios-email'),
array('ionicons ion-ios-email-outline' => 'ios-email-outline'),
array('ionicons ion-ios-eye' => 'ios-eye'),
array('ionicons ion-ios-eye-outline' => 'ios-eye-outline'),
array('ionicons ion-ios-fastforward' => 'ios-fastforward'),
array('ionicons ion-ios-fastforward-outline' => 'ios-fastforward-outline'),
array('ionicons ion-ios-filing' => 'ios-filing'),
array('ionicons ion-ios-filing-outline' => 'ios-filing-outline'),
array('ionicons ion-ios-film' => 'ios-film'),
array('ionicons ion-ios-film-outline' => 'ios-film-outline'),
array('ionicons ion-ios-flag' => 'ios-flag'),
array('ionicons ion-ios-flag-outline' => 'flag-outline'),
array('ionicons ion-ios-flame' => 'ios-flame'),
array('ionicons ion-ios-flame-outline' => 'ios-flame-outline'),
array('ionicons ion-ios-flask' => 'ios-flask'),
array('ionicons ion-ios-flask-outline' => 'flask-outline'),
array('ionicons ion-ios-flower' => 'ios-flower'),
array('ionicons ion-ios-flower-outline' => 'ios-flower-outline'),
array('ionicons ion-ios-folder' => 'ios-folder'),
array('ionicons ion-ios-folder-outline' => 'ios-folder-outline'),
array('ionicons ion-ios-football' => 'ios-football'),
array('ionicons ion-ios-football-outline' => 'ios-football-outline'),
array('ionicons ion-ios-game-controller-a' => 'ios-game-controller-a'),
array('ionicons ion-ios-game-controller-a-outline' => 'ios-game-controller-a-outline'),
array('ionicons ion-ios-game-controller-b' => 'ios-game-controller-b'),
array('ionicons ion-ios-game-controller-b-outline' => 'ios-game-controller-b-outline'),
array('ionicons ion-ios-gear' => 'ios-gear'),
array('ionicons ion-ios-gear-outline' => 'ios-gear-outline'),
array('ionicons ion-ios-glasses' => 'ios-glasses'),
array('ionicons ion-ios-glasses-outline' => 'ios-glasses-outline'),
array('ionicons ion-ios-grid-view' => 'ios-grid-view'),
array('ionicons ion-ios-grid-view-outline' => 'ios-grid-view-outline'),
array('ionicons ion-ios-heart' => 'ios-heart'),
array('ionicons ion-ios-heart-outline' => 'ios-heart-outline'),
array('ionicons ion-ios-help' => 'ios-help'),
array('ionicons ion-ios-help-empty' => 'ios-help-empty'),
array('ionicons ion-ios-help-outline' => 'ios-help-outline'),
array('ionicons ion-ios-home' => 'ios-home'),
array('ionicons ion-ios-home-outline' => 'ios-home-outline'),
array('ionicons ion-ios-infinite' => 'ios-infinite'),
array('ionicons ion-ios-infinite-outline' => 'ios-infinite-outline'),
array('ionicons ion-ios-information' => 'ios-information'),
array('ionicons ion-ios-information-empty' => 'ios-information-empty'),
array('ionicons ion-ios-information-outline' => 'ios-information-outline'),
array('ionicons ion-ios-ionic-outline' => 'ios-ionic-outline'),
array('ionicons ion-ios-keypad' => 'ios-ionic-outline'),
array('ionicons ion-ios-keypad-outline' => 'ios-keypad-outline'),
array('ionicons ion-ios-lightbulb' => 'ios-lightbulb'),
array('ionicons ion-ios-lightbulb-outline' => 'ios-lightbulb-outline'),
array('ionicons ion-ios-list' => 'ios-list'),
array('ionicons ion-ios-list-outline' => 'ios-list-outline'),
array('ionicons ion-ios-location' => 'ios-location'),
array('ionicons ion-ios-location-outline' => 'ios-location-outline'),
array('ionicons ion-ios-locked' => 'ios-locked'),
array('ionicons ion-ios-locked-outline' => 'ios-locked-outline'),
array('ionicons ion-ios-loop' => 'ios-loop'),
array('ionicons ion-ios-loop-strong' => 'ios-loop-strong'),
array('ionicons ion-ios-medical' => 'ios-medical'),
array('ionicons ion-ios-medical-outline' => 'ios-medical-outline'),
array('ionicons ion-ios-medkit' => 'ios-medkit'),
array('ionicons ion-ios-medkit-outline' => 'ios-medkit-outline'),
array('ionicons ion-ios-mic' => 'ios-mic'),
array('ionicons ion-ios-mic-off' => 'ios-mic-off'),
array('ionicons ion-ios-mic-outline' => 'ios-mic-outline'),
array('ionicons ion-ios-minus' => 'ios-minus'),
array('ionicons ion-ios-minus-empty' => 'ios-minus-empty'),
array('ionicons ion-ios-minus-outline' => 'ios-minus-outline'),
array('ionicons ion-ios-monitor' => 'ios-monitor'),
array('ionicons ion-ios-monitor-outline' => 'ios-monitor-outline'),
array('ionicons ion-ios-moon' => 'ios-moon'),
array('ionicons ion-ios-moon-outline' => 'ios-moon-outline'),
array('ionicons ion-ios-more' => 'ios-more'),
array('ionicons ion-ios-more-outline' => 'ios-more-outline'),
array('ionicons ion-ios-musical-note' => 'ios-musical-note'),
array('ionicons ion-ios-musical-notes' => 'ios-musical-notes'),
array('ionicons ion-ios-navigate' => 'ios-navigate'),
array('ionicons ion-ios-navigate-outline' => 'ios-navigate-outline'),
array('ionicons ion-ios-nutrition' => 'ios-nutrition'),
array('ionicons ion-ios-nutrition-outline' => 'nutrition-outline'),
array('ionicons ion-ios-paper' => 'ios-paper'),
array('ionicons ion-ios-paper-outline' => 'ios-paper-outline'),
array('ionicons ion-ios-paperplane' => 'ios-paperplane'),
array('ionicons ion-ios-paperplane-outline' => 'ios-paperplane-outline'),
array('ionicons ion-ios-partlysunny' => 'ios-partlysunny'),
array('ionicons ion-ios-partlysunny-outline' => 'ios-partlysunny-outline'),
array('ionicons ion-ios-pause' => 'ios-pause'),
array('ionicons ion-ios-pause-outline' => 'ios-pause-outline'),
array('ionicons ion-ios-paw' => 'ios-paw'),
array('ionicons ion-ios-paw-outline' => 'ios-paw-outline'),
array('ionicons ion-ios-people' => 'ios-people'),
array('ionicons ion-ios-people-outline' => 'ios-people-outline'),
array('ionicons ion-ios-person' => 'ios-person'),
array('ionicons ion-ios-person-outline' => 'ios-person-outline'),
array('ionicons ion-ios-personadd' => 'ios-personadd'),
array('ionicons ion-ios-personadd-outline' => 'ios-personadd-outline'),
array('ionicons ion-ios-photos' => 'ios-photos'),
array('ionicons ion-ios-photos-outline' => 'ios-photos-outline'),
array('ionicons ion-ios-pie' => 'ios-pie'),
array('ionicons ion-ios-pie-outline' => 'ios-pie-outline'),
array('ionicons ion-ios-pint' => 'ios-pint'),
array('ionicons ion-ios-pint-outline' => 'pint-outline'),
array('ionicons ion-ios-play' => 'ios-play'),
array('ionicons ion-ios-play-outline' => 'ios-play-outline'),
array('ionicons ion-ios-plus' => 'ios-plus'),
array('ionicons ion-ios-plus-empty' => 'ios-plus-empty'),
array('ionicons ion-ios-plus-outline' => 'ios-plus-outline'),
array('ionicons ion-ios-pricetag' => 'ios-pricetag'),
array('ionicons ion-ios-pricetag-outline' => 'ios-pricetag-outline'),
array('ionicons ion-ios-pricetags' => 'ios-pricetags'),
array('ionicons ion-ios-pricetags-outline' => 'pricetags-outline'),
array('ionicons ion-ios-printer' => 'ios-printer'),
array('ionicons ion-ios-printer-outline' => 'printer-outline'),
array('ionicons ion-ios-pulse' => 'ios-pulse'),
array('ionicons ion-ios-pulse-strong' => 'ios-pulse-strong'),
array('ionicons ion-ios-rainy' => 'ios-rainy'),
array('ionicons ion-ios-rainy-outline' => 'ios-rainy-outline'),
array('ionicons ion-ios-recording' => 'ios-recording'),
array('ionicons ion-ios-recording-outline' => 'ios-recording-outline'),
array('ionicons ion-ios-redo' => 'ios-redo'),
array('ionicons ion-ios-redo-outline' => 'ios-redo-outline'),
array('ionicons ion-ios-refresh' => 'ios-refresh'),
array('ionicons ion-ios-refresh-empty' => 'ios-refresh-empty'),
array('ionicons ion-ios-refresh-outline' => 'ios-refresh-outline'),
array('ionicons ion-ios-reload' => 'ios-reload'),
array('ionicons ion-ios-reverse-camera' => 'ios-reverse-camera'),
array('ionicons ion-ios-reverse-camera-outline' => 'ios-reverse-camera-outline'),
array('ionicons ion-ios-rewind' => 'ios-rewind'),
array('ionicons ion-ios-rewind-outline' => 'ios-rewind-outline'),
array('ionicons ion-ios-rose' => 'ios-rose'),
array('ionicons ion-ios-rose-outline' => 'ios-rose-outline'),
array('ionicons ion-ios-search' => 'ios-search'),
array('ionicons ion-ios-search-strong' => 'ios-search-strong'),
array('ionicons ion-ios-settings' => 'ios-settings'),
array('ionicons ion-ios-settings-strong' => 'ios-settings-strong'),
array('ionicons ion-ios-shuffle' => 'ios-shuffle'),
array('ionicons ion-ios-shuffle-strong' => 'ios-shuffle-strong'),
array('ionicons ion-ios-skipbackward' => 'ios-skipbackward'),
array('ionicons ion-ios-skipbackward-outline' => 'ios-skipbackward-outline'),
array('ionicons ion-ios-skipforward' => 'ios-skipforward'),
array('ionicons ion-ios-skipforward-outline' => 'ios-skipforward-outline'),
array('ionicons ion-ios-snowy' => 'ios-snowy'),
array('ionicons ion-ios-speedometer' => 'ios-speedometer'),
array('ionicons ion-ios-speedometer-outline' => 'ios-speedometer-outline'),
array('ionicons ion-ios-star' => 'ios-star'),
array('ionicons ion-ios-star-half' => 'ios-star-half'),
array('ionicons ion-ios-star-outline' => 'ios-star-outline'),
array('ionicons ion-ios-stopwatch' => 'ios-stopwatch'),
array('ionicons ion-ios-stopwatch-outline' => 'ios-stopwatch-outline'),
array('ionicons ion-ios-sunny' => 'ios-sunny'),
array('ionicons ion-ios-sunny-outline' => 'ios-sunny-outline'),
array('ionicons ion-ios-telephone' => 'ios-telephone'),
array('ionicons ion-ios-telephone-outline' => 'ios-telephone-outline'),
array('ionicons ion-ios-tennisball' => 'ios-tennisball'),
array('ionicons ion-ios-tennisball-outline' => 'ios-tennisball-outline'),
array('ionicons ion-ios-thunderstorm' => 'ios-thunderstorm'),
array('ionicons ion-ios-thunderstorm-outline' => 'ios-thunderstorm-outline'),
array('ionicons ion-ios-time' => 'ios-time'),
array('ionicons ion-ios-time-outline' => 'time-outline'),
array('ionicons ion-ios-timer' => 'ios-timer'),
array('ionicons ion-ios-timer-outline' => 'ios-timer-outline'),
array('ionicons ion-ios-toggle' => 'ios-toggle'),
array('ionicons ion-ios-toggle-outline' => 'toggle-outline'),
array('ionicons ion-ios-trash' => 'ios-trash'),
array('ionicons ion-ios-trash-outline' => 'trash-outline'),
array('ionicons ion-ios-undo' => 'ios-undo'),
array('ionicons ion-ios-undo-outline' => 'ios-undo-outline'),
array('ionicons ion-ios-unlocked' => 'ios-unlocked'),
array('ionicons ion-ios-unlocked-outline' => 'ios-unlocked-outline'),
array('ionicons ion-ios-upload' => 'ios-upload'),
array('ionicons ion-ios-upload-outline' => 'ios-upload-outline'),
array('ionicons ion-ios-videocam' => 'ios-videocam'),
array('ionicons ion-ios-videocam-outline' => 'ios-videocam-outline'),
array('ionicons ion-ios-volume-high' => 'ios-volume-high'),
array('ionicons ion-ios-volume-low' => 'ios-volume-low'),
array('ionicons ion-ios-wineglass' => 'ios-wineglass'),
array('ionicons ion-ios-wineglass-outline' => 'ios-wineglass-outline'),
array('ionicons ion-ios-world' => 'ios-world'),
array('ionicons ion-ios-world-outline' => 'ios-world-outline'),
array('ionicons ion-ipad' => 'ipad'),
array('ionicons ion-iphone' => 'iphone'),
array('ionicons ion-ipod' => 'ipod'),
array('ionicons ion-jet' => 'jet'),
array('ionicons ion-key' => 'key'),
array('ionicons ion-knife' => 'knife'),
array('ionicons ion-laptop' => 'laptop'),
array('ionicons ion-leaf' => 'leaf'),
array('ionicons ion-levels' => 'levels'),
array('ionicons ion-lightbulb' => 'lightbulb'),
array('ionicons ion-link' => 'link'),
array('ionicons ion-load-a' => 'load-a'),
array('ionicons ion-load-b' => 'load-b'),
array('ionicons ion-load-c' => 'load-c'),
array('ionicons ion-load-d' => 'load-d'),
array('ionicons ion-location' => 'location'),
array('ionicons ion-lock-combination' => 'lock-combination'),
array('ionicons ion-locked' => 'locked'),
array('ionicons ion-log-in' => 'log-in'),
array('ionicons ion-log-out' => 'log-out'),
array('ionicons ion-loop' => 'loop'),
array('ionicons ion-magnet' => 'magnet'),
array('ionicons ion-male' => 'male'),
array('ionicons ion-man' => 'man'),
array('ionicons ion-map' => 'map'),
array('ionicons ion-medkit' => 'medkit'),
array('ionicons ion-merge' => 'merge'),
array('ionicons ion-mic-a' => 'mic-a'),
array('ionicons ion-mic-b' => 'mic-b'),
array('ionicons ion-mic-c' => 'mic-c'),
array('ionicons ion-minus' => 'minus'),
array('ionicons ion-minus-circled' => 'minus-circled'),
array('ionicons ion-minus-round' => 'minus-round'),
array('ionicons ion-model-s' => 'model-s'),
array('ionicons ion-monitor' => 'monitor'),
array('ionicons ion-more' => 'more'),
array('ionicons ion-mouse' => 'mouse'),
array('ionicons ion-music-note' => 'music-note'),
array('ionicons ion-navicon' => 'navicon'),
array('ionicons ion-navicon-round' => 'navicon-round'),
array('ionicons ion-navigate' => 'navigate'),
array('ionicons ion-network' => 'network'),
array('ionicons ion-no-smoking' => 'no-smoking'),
array('ionicons ion-nuclear' => 'nuclear'),
array('ionicons ion-outlet' => 'outlet'),
array('ionicons ion-paintbrush' => 'paintbrush'),
array('ionicons ion-paintbucket' => 'paintbucket'),
array('ionicons ion-paper-airplane' => 'paper-airplane'),
array('ionicons ion-paperclip' => 'paperclip'),
array('ionicons ion-pause' => 'pause'),
array('ionicons ion-person' => 'person'),
array('ionicons ion-person-add' => 'person-add'),
array('ionicons ion-person-stalker' => 'person-stalker'),
array('ionicons ion-pie-graph' => 'pie-graph'),
array('ionicons ion-pin' => 'pin'),
array('ionicons ion-pinpoint' => 'pinpoint'),
array('ionicons ion-pizza' => 'pizza'),
array('ionicons ion-plane' => 'plane'),
array('ionicons ion-planet' => 'planet'),
array('ionicons ion-play' => 'play'),
array('ionicons ion-playstation' => 'playstation'),
array('ionicons ion-plus' => 'plus'),
array('ionicons ion-plus-circled' => 'plus-circled'),
array('ionicons ion-plus-round' => 'plus-round'),
array('ionicons ion-podium' => 'podium'),
array('ionicons ion-pound' => 'pound'),
array('ionicons ion-power' => 'power'),
array('ionicons ion-pricetag' => 'pricetag'),
array('ionicons ion-pricetags' => 'pricetags'),
array('ionicons ion-printer' => 'printer'),
array('ionicons ion-pull-request' => 'pull-request'),
array('ionicons ion-qr-scanner' => 'qr-scanner'),
array('ionicons ion-quote' => 'quote'),
array('ionicons ion-radio-waves' => 'radio-waves'),
array('ionicons ion-record' => 'record'),
array('ionicons ion-refresh' => 'refresh'),
array('ionicons ion-reply' => 'reply'),
array('ionicons ion-reply-all' => 'reply-all'),
array('ionicons ion-ribbon-a' => 'ribbon-a'),
array('ionicons ion-ribbon-b' => 'ribbon-b'),
array('ionicons ion-sad' => 'sad'),
array('ionicons ion-sad-outline' => 'sad-outline'),
array('ionicons ion-scissors' => 'scissors'),
array('ionicons ion-search' => 'search'),
array('ionicons ion-settings' => 'settings'),
array('ionicons ion-share' => 'share'),
array('ionicons ion-shuffle' => 'shuffle'),
array('ionicons ion-skip-backward' => 'skip-backward'),
array('ionicons ion-skip-forward' => 'skip-forward'),
array('ionicons ion-social-android' => 'social-android'),
array('ionicons ion-social-android-outline' => 'social-android-outline'),
array('ionicons ion-social-angular' => 'social-angular'),
array('ionicons ion-social-angular-outline' => 'social-angular-outline'),
array('ionicons ion-social-apple' => 'social-apple'),
array('ionicons ion-social-apple-outline' => 'social-apple-outline'),
array('ionicons ion-social-bitcoin' => 'social-bitcoin'),
array('ionicons ion-social-bitcoin-outline' => 'social-bitcoin-outline'),
array('ionicons ion-social-buffer' => 'social-buffer'),
array('ionicons ion-social-buffer-outline' => 'social-buffer-outline'),
array('ionicons ion-social-chrome' => 'social-chrome'),
array('ionicons ion-social-chrome-outline' => 'social-chrome-outline'),
array('ionicons ion-social-codepen' => 'social-codepen'),
array('ionicons ion-social-codepen-outline' => 'social-codepen-outline'),
array('ionicons ion-social-css3' => 'social-css3'),
array('ionicons ion-social-css3-outline' => 'social-css3-outline'),
array('ionicons ion-social-designernews' => 'social-designernews'),
array('ionicons ion-social-designernews-outline' => 'social-designernews-outline'),
array('ionicons ion-social-dribbble' => 'social-dribbble'),
array('ionicons ion-social-dribbble-outline' => 'social-dribbble-outline'),
array('ionicons ion-social-dropbox' => 'social-dropbox'),
array('ionicons ion-social-dropbox-outline' => 'social-dropbox-outline'),
array('ionicons ion-social-euro' => 'social-euro'),
array('ionicons ion-social-euro-outline' => 'social-euro-outline'),
array('ionicons ion-social-facebook' => 'social-facebook'),
array('ionicons ion-social-facebook-outline' => 'social-facebook-outline'),
array('ionicons ion-social-foursquare' => 'social-foursquare'),
array('ionicons ion-social-foursquare-outline' => 'social-foursquare-outline'),
array('ionicons ion-social-freebsd-devil' => 'social-freebsd-devil'),
array('ionicons ion-social-github' => 'social-github'),
array('ionicons ion-social-github-outline' => 'social-github-outline'),
array('ionicons ion-social-google' => 'social-google'),
array('ionicons ion-social-google-outline' => 'social-google-outline'),
array('ionicons ion-social-googleplus' => 'social-googleplus'),
array('ionicons ion-social-googleplus-outline' => 'social-googleplus-outline'),
array('ionicons ion-social-hackernews' => 'social-hackernews'),
array('ionicons ion-social-hackernews-outline' => 'social-hackernews-outline'),
array('ionicons ion-social-html5' => 'social-html5'),
array('ionicons ion-social-html5-outline' => 'social-html5-outline'),
array('ionicons ion-social-instagram' => 'social-instagram'),
array('ionicons ion-social-instagram-outline' => 'social-instagram-outline'),
array('ionicons ion-social-javascript' => 'social-javascript'),
array('ionicons ion-social-javascript-outline' => 'social-javascript-outline'),
array('ionicons ion-social-linkedin' => 'social-linkedin'),
array('ionicons ion-social-linkedin-outline' => 'social-linkedin-outline'),
array('ionicons ion-social-markdown' => 'social-markdown'),
array('ionicons ion-social-nodejs' => 'social-nodejs'),
array('ionicons ion-social-octocat' => 'social-octocat'),
array('ionicons ion-social-pinterest' => 'social-pinterest'),
array('ionicons ion-social-pinterest-outline' => 'social-pinterest-outline'),
array('ionicons ion-social-python' => 'social-python'),
array('ionicons ion-social-reddit' => 'social-reddit'),
array('ionicons ion-social-reddit-outline' => 'social-reddit-outline'),
array('ionicons ion-social-rss' => 'social-rss'),
array('ionicons ion-social-rss-outline' => 'social-rss-outline'),
array('ionicons ion-social-sass' => 'social-sass'),
array('ionicons ion-social-skype' => 'social-skype'),
array('ionicons ion-social-skype-outline' => 'social-skype-outline'),
array('ionicons ion-social-snapchat' => 'social-snapchat'),
array('ionicons ion-social-snapchat-outline' => 'social-snapchat-outline'),
array('ionicons ion-social-tumblr' => 'social-tumblr'),
array('ionicons ion-social-tumblr-outline' => 'social-tumblr-outline'),
array('ionicons ion-social-tux' => 'social-tux'),
array('ionicons ion-social-twitch' => 'social-twitch'),
array('ionicons ion-social-twitch-outline' => 'social-twitch-outline'),
array('ionicons ion-social-twitter' => 'social-twitter'),
array('ionicons ion-social-twitter-outline' => 'social-twitter-outline'),
array('ionicons ion-social-usd' => 'social-usd'),
array('ionicons ion-social-usd-outline' => 'social-usd-outline'),
array('ionicons ion-social-vimeo' => 'social-vimeo'),
array('ionicons ion-social-vimeo-outline' => 'social-vimeo-outline'),
array('ionicons ion-social-whatsapp' => 'social-whatsapp'),
array('ionicons ion-social-whatsapp-outline' => 'social-whatsapp-outline'),
array('ionicons ion-social-windows' => 'social-windows'),
array('ionicons ion-social-windows-outline' => 'social-windows-outline'),
array('ionicons ion-social-wordpress' => 'social-wordpress'),
array('ionicons ion-social-wordpress-outline' => 'social-wordpress-outline'),
array('ionicons ion-social-yahoo' => 'social-yahoo'),
array('ionicons ion-social-yahoo-outline' => 'social-yahoo-outline'),
array('ionicons ion-social-yen' => 'social-yen'),
array('ionicons ion-social-yen-outline' => 'social-yen-outline'),
array('ionicons ion-social-youtube' => 'social-youtube'),
array('ionicons ion-social-youtube-outline' => 'social-youtube-outline'),
array('ionicons ion-soup-can' => 'soup-can'),
array('ionicons ion-soup-can-outline' => 'soup-can-outline'),
array('ionicons ion-speakerphone' => 'speakerphone'),
array('ionicons ion-speedometer' => 'speedometer'),
array('ionicons ion-spoon' => 'spoon'),
array('ionicons ion-star' => 'star'),
array('ionicons ion-stats-bars' => 'stats-bars'),
array('ionicons ion-steam' => 'steam'),
array('ionicons ion-stop' => 'stop'),
array('ionicons ion-thermometer' => 'thermometer'),
array('ionicons ion-thumbsdown' => 'thumbsdown'),
array('ionicons ion-thumbsup' => 'thumbsup'),
array('ionicons ion-toggle' => 'toggle'),
array('ionicons ion-toggle-filled' => 'toggle-filled'),
array('ionicons ion-transgender' => 'transgender'),
array('ionicons ion-trash-a' => 'trash-a'),
array('ionicons ion-trash-b' => 'trash-b'),
array('ionicons ion-trophy' => 'trophy'),
array('ionicons ion-tshirt' => 'tshirt'),
array('ionicons ion-tshirt-outline' => 'tshirt-outline'),
array('ionicons ion-umbrella' => 'umbrella'),
array('ionicons ion-university' => 'university'),
array('ionicons ion-unlocked' => 'unlocked'),
array('ionicons ion-upload' => 'upload'),
array('ionicons ion-usb' => 'usb'),
array('ionicons ion-videocamera' => 'videocamera'),
array('ionicons ion-volume-high' => 'volume-high'),
array('ionicons ion-volume-low' => 'volume-low'),
array('ionicons ion-volume-medium' => 'volume-medium'),
array('ionicons ion-volume-mute' => 'volume-mute'),
array('ionicons ion-wand' => 'wand'),
array('ionicons ion-waterdrop' => 'waterdrop'),
array('ionicons ion-wifi' => 'wifi'),
array('ionicons ion-wineglass' => 'wineglass'),
array('ionicons ion-woman' => 'woman'),
array('ionicons ion-wrench' => 'wrench'),
array('ionicons ion-xbox' => 'xbox'),
);
}
add_filter( 'vc_iconpicker-type-ionicons', 'bon_icon_array' );
/** Register Backend and Frontend CSS Styles */
add_action( 'vc_base_register_front_css', 'bon_vc_iconpicker_base_register_css' );
add_action( 'vc_base_register_admin_css', 'bon_vc_iconpicker_base_register_css' );
function bon_vc_iconpicker_base_register_css(){
wp_register_style('ionicons', get_stylesheet_directory_uri() . '/css/ionicons.min.css');
wp_register_style('flaticon', get_stylesheet_directory_uri() . '/css/flaticon/flaticon.css');
}
/** Enqueue Backend and Frontend CSS Styles */
add_action( 'vc_backend_editor_enqueue_js_css', 'bon_vc_iconpicker_editor_jscss' );
add_action( 'vc_frontend_editor_enqueue_js_css', 'bon_vc_iconpicker_editor_jscss' );
function bon_vc_iconpicker_editor_jscss(){
wp_enqueue_style( 'ionicons' );
wp_enqueue_style( 'flaticon' );
}
/** Enqueue CSS in Frontend when it's used */
add_action('vc_enqueue_font_icon_element', 'bon_enqueue_font_ionicons');
function bon_enqueue_font_ionicons($font){
switch ( $font ) {
case 'ionicons':
wp_enqueue_style( 'ionicons' );
break;
case 'flaticon':
wp_enqueue_style( 'flaticon' );
}
}