Support » Plugin: Easy Forms for Mailchimp » Contact Form 7 – Double Opt In

  • Resolved netutgamer



    Just integrated this plugin and it’s working perfectly with our website and an existing ‘contact-form-7’ form on the website.

    However, everyone who is subscribing to the mailing list is getting a double opt-in email. I can’t find a way to set this preference using a contact form 7 submission form?

    Is there a way to disable this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ahh solved it…had done a search of the support forum but after posting this I clearly searched a bit harder…

    I’ll get my coat 😉

    Pasted this into Functions.php and all good!

    add_filter( 'yikes-mailchimp-checkbox-integration-body', 'set_integrations_to_single_optin', 10, 2 );
    function set_integrations_to_single_optin( $request_body, $integration_type ) {
    	$request_body['status_if_new'] = 'subscribed';
    	$request_body['status']        = 'subscribed';
    	return $request_body;
    Plugin Author yikesinc



    I’m glad you found it so quickly!

    Take care,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Contact Form 7 – Double Opt In’ is closed to new replies.