Display icon field for icon fonts like font awesome and etc.

Code Sample:

array(
    'id'		=> 'icon_field',
    'title'		=> __('icon Field','text-domain'),
    'details'	=> __('Description of icon field','text-domain'),
    'type'		=> 'icon',
    'default'	=> 'fas fa-bomb',
    'args'		=> 'WPADMINSETTINGS_FONTAWESOME_ARRAY',
),

 

Preview:

WordPress Option Framework

WordPress Option Framework