Nuxy
Search…
21. Icon picker
Select icon, icon font-size and icon color
1
'icon_picker' => array(
2
'type' => 'icon_picker',
3
'label' => esc_html__('Icon Picker', 'my-domain'),
4
),
Copied!
By default font awesome library is included with framework, but you can edit icon list by using WP filter:
1
apply_filters('wpcfto_icons_set', $icons)
Copied!
Icons stored in array with single element like:
1
array(
2
'title' => 'icon class',
3
'searchTerms' => ['here', 'array', 'of', 'terms', 'to', 'search']
4
);
Copied!
Last modified 10mo ago
Copy link