Where can i add mailchimp intergration code for new user register?


Hi Dear,
I would like to add the html for checkbox of Mailchimp intergration, which bellow the email  field of the question form for new user register.
Could you kindly check  how can i do that ?

Thanks You!

Answered question

I hope you can do what you want easily, this kind of work is a little tiring. jack

Answered question

The result of the code

Answered question

You can use this code to add MAILCHIMP check box custom field

  * Add custom AnsPress fields.
  * @param array $fields AnsPress fields.
  * @return array
  $fields['fields'][] = array(
   'type'        => 'custom',
   'html' => '<div class=""><p><label><input type="checkbox" name="REPLACE-YOUR-MAILCHIMP-SHORTCODE" value="1" checked="checked" />
         Subscribe to our newsletter.  </label></p></div>',
      'order' => 22, // Order of field
  return $fields;

Answered question

I get the same issue, happy wheels 🙁

Posted new comment

I could do this. So i can help you