iv通过函数在签出页面中创建自定义复选框。php文件,但我想其中一个被勾选我怎么做?
woocommerce_form_field( \'my_checkbox1\', array(
\'type\' => \'checkbox\',
\'class\' => array(\'input-checkbox\'),
\'label\' => __(\'Standard Shipping (2–7 Days, FREE!) <span>Most items are shipped FREE OF CHARGE within Thailand.</span>\'),
\'required\' => false,
\'value\' => true,
), $checkout->get_value( \'my_checkbox1\' ));