The Radio an incredible field allows to present set of choices for users to select form.

Name Type Default Description
type string ‘radio’ Value identifying the field type.
id string Unique ID identifying the field. Must be different from all other field IDs.
title string Displays title of the option.
desc string Description of the option, appearing beneath the field control.
require array Provide the parent, comparison operator, and value which affects the field’s visibility.
value string String that appears in the text input.

Example Declaration

    'id'    => 'radio',
    'title' => esc_html__( 'Label', 'ultimate-page-builder' ),
    'desc'   => wp_kses_post( __( 'Description', 'ultimate-page-builder' )),
    'type'   => 'radio',
    'value' => 'key1',
    'options' =>array(
        'key1'=> 'Label 1', 
        'key2'=> 'Label 2',
        'key3'=> 'Label 3'

results matching ""

    No results matching ""