I'm trying to add an icon picker that allows users to select Font Awesome 5 icons.
This code works but displays Font Awesome 4.7 icons (included in visual composer plugin), I already tried to set "Fontawesome 5 Free" as type and value, but no icons displayed.
array(
'type' => 'iconpicker',
'heading' => __( 'Icon', 'js_composer' ),
'param_name' => 'icon_fontawesome',
'value' => '',
'group' => 'General',
'settings' => array(
'emptyIcon' => false,
'type' => 'fontawesome',
'iconsPerPage' => 4000,
),
'dependency' => array(
'element' => 'type',
'value' => 'fontawesome',
),
'description' => __( 'Select icon from library.', 'js_composer' ),
'group' => 'Content',
),
I want to include font awesome 5 icons.