Date Picker Field Join KC discussion

The date_picker allows you to select a date from the calendar. KingComposer Date-Picker text

Map Usage:

array(
	'name' => 'field_id',
	'label' => 'Field Label',
	'type' => 'date_picker',  // USAGE DATE_PICKER TYPE
	'description' => 'Field Description',
)

Example:

Register a new shortcode with filed type: date_picker
add_map(

        array(

            // 1st shortcode element
            'my_shortcode' => array(
                'name' => 'My Shortcode',
                'description' => 'This is my shortcode',
                'icon' => 'my-class-icon',
                'category' => 'Content',
                'params' => array(
                    //1st field
                    array(
                        'name' => 'field_id',
                        'label' => 'Field Label',
                        'type' => 'date_picker',  // USAGE DATE_PICKER TYPE
                        'description' => 'Field Description',
                    ),
                    //2nd field
                )
            ),

            // 2nd shortcode element

        ) // End Arrays
    );

} // end my_wp_init()

?>

Read more