Replies: 0
I’ve tried adding the checkbox to the Registration form of Ultimate Member plugin, like described here: https://mc4wp.com/kb/add-sign-checkbox-custom-form/, but checking the checkbox does not subscribe me.
I’ve added the code in the register.php template like this:
<form method="post" action="">
<?php
do_action("um_before_form", $args);
do_action("um_before_{$mode}_fields", $args);
do_action("um_main_{$mode}_fields", $args);
do_action("um_after_form_fields", $args);
?><label>
<input type="checkbox" name="mc4wp-subscribe" value="1" />
Sign-up to our newsletter.
</label><?php
do_action("um_after_{$mode}_fields", $args);
do_action("um_after_form", $args);
?>
</form>
Any idea why this is ot working?