Checkbox Icon

The Checkbox icon an graphically enriched field to select single check option or a group of multi-check options.

Name Type Default Description
type string ‘checkbox-icon’ 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 array Display default string in the text input.
options array Options for select

Example Declaration

array(
    'id'    => 'checkbox-icon',
    'title' => esc_html__( 'Label', 'ultimate-page-builder' ),
    'desc'   => wp_kses_post( __( 'Description', 'ultimate-page-builder' )),
    'type'   => 'checkbox-icon',
    'value' => array('key1'),
    'options' =>array(
        'key1'=> array(
           'title' => 'title 1',
           'icon'  => 'mdi mdi:svg'
        ), 
        'key2'=> array(
           'title' => 'title 1',
           'icon'  => 'mdi mdi:format:align:left'
        ),
        'key3'=> array(
           'title' => 'title 1',
           'icon'  => 'mdi mdi:format:align:center'
        ),
        'key4'=> array(
           'title' => 'title 1',
           'icon'  => 'mdi mdi:format:align:right'
        )
      )
    );

results matching ""

    No results matching ""