Aren’t those two separate things? What I’m talking about is single-opt in. By default mailchimp API has it set to true, although it does look like you changed it to false in this version:
$result = $wrap->lists->subscribe($listid, array('email'=>$email), $merge_vars, false, false, false, false);
What I did was actually add a single opt in option that allows the user to select single or double (just copied format from your other checkbox in settings) and then did the following (note – it is using the older version’s code):
if( isset($cf7_mch['singleoptinoption']) && strlen($cf7_mch['resubscribeoption']) != 0 )
{
$singleoptinoption = false;
}
else
{
$singleoptinoption = true;
}
and then…
$result = $wrap->lists->subscribe($listid, array('email'=>$email), $merge_vars, false, $singleoptinoption, false, false);