Input Field – date_time_picker

Input Field – date_time_picker

You can use the date_time_picker input field to allow users to select date and time. See the below example about how you can use thedate_time_picker input field.
ExampleCopy to Clipboardarray(

'type' => 'date_time_picker',

'heading' => esc_attr__( 'Select date and time', 'fusion-builder' ),

'description' => esc_attr__( 'Add a short description for the field.', 'fusion-builder' ),

'param_name' => 'date_time',

'value' => '',

)​x 1array(2​3  'type'        => 'date_time_picker',4​5  'heading'     => esc_attr__( 'Select date and time', 'fusion-builder' ),6​7  'description' => esc_attr__( 'Add a short description for the field.', 'fusion-builder' ),8​9  'param_name'  => 'date_time',10​11  'value'       => '',12​13)Parameters type
( string ) input type. heading
( string ) Setting title. description
( string ) Short description about the setting field. param_name
 ( string ) Attribute name to be used in the shortcode. value
( string ) Default value for the date/time to be used.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注