Icon Select

Icon Select allows pick desired icons from the all available icon list.

Field Parameters

Name Type Default Description
type string ‘icon-select’ Value identifies the field types.
id string Identifies unique ID for the field. It must be different from other existing field IDs.
title string Displays the field label.
desc string Describe the field option in details, appears underneath the field control.
required array Acts like boolean operator and provides the parent, comparison operation, and value which decides the field visibility.
value string Display default string in the text input.
placeholder string Default message to display when no input is inserted.
settings array Add some settings

Example Declaration

    'id'    => 'icon-select',
    'title' => esc_html__( 'Material Icons', 'ultimate-page-builder' ),
    'placeholder' => esc_html__( 'Choose Icon', 'ultimate-page-builder' ),
    'desc'  => wp_kses_post( __( 'Description', 'ultimate-page-builder' )),
    'type'  => 'icon-select',
    'value' => '',
    'options'=> upb_material_design_icons()

results matching ""

    No results matching ""