Hello Support,
I created my own widget and its working fine, but im finetuning some things and i would like to make several checkboxes checked by default.
I checked the documentation , see beneath. But the checkboxes arent checked by default, and cant get it working. What am i doing wrong? Hope to hear from you soon.
Thanks! Marc
$form_options = array(
‘some_boolean’ => array(
‘type’ => ‘checkbox’,
‘label’ => __( ‘Allow this thing?’, ‘widget-form-fields-text-domain’ ),
‘default’ => true
Hi marc
Nothing obvious jumping out. Can we checkout the rest of the code?