I have a php form that I want to change the state of a checkbox so it's filled by default, but there are two fields that may be the right way:
'request_vendor_access' => array( 'label' => __( 'Request access to become an Artist', 'ignitewoo_vendor_stores' ), 'type' => 'checkbox', 'required' => false, 'class' => array( 'form-row-full vendor_stores_request_access' ), 'clear' => true, 'default' => 'go', ),
I would have guessed that it would be 'default', but it's set to the string 'go' so perhaps I should set
What's the correct way to make the checkbox marked by default? Any insight is appreciated.