Support » Plugin: Ultimate Member - User Profile & Membership Plugin » Mailpoet checkbox in registration form

  • Hi, i will like to add a subscription checkbox in my registration form. I contacted Mailpoet and was advised as follows:

    ‘The answer to your question is a bit technical though. MailPoet automatically adds a checkbox to registration forms as long as they have support for a WordPress hook called register_form. Inside Ultimate Member’s code they must have a line similar to this:

    do_action( ‘register_form’ );

    This way, MaiPoet will be able to automatically add our checkbox in there. I’d suggest you contact Ultimate Member’s support for additional help regarding this. They will know how to proceed”.

    Any assistance given in this regard is sincerely appreciated especially as I have nil I.T. experience. Thanking you in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Champ Camba


    Hi @lillithpp

    You can try this sample code to add the register_form hook:

    function um_custom_add_register_form_hook(){
       do_action( ‘register_form’ );

    Let me know how it works for you.


    Hello Champ,

    Thank you for your reply and apologies for the delayed response. Hope you and your family are safe during this time. Your response is helpful except for one problem I don’t even know where to find these ‘hooks’ much less to edit them. I don’t even know what they are. Basically, I have been using drag and drop for my website building and a little HTML code in between, beyond that I’m clueless. It’s basically uncharted territory for me. So hopefully if it’s not too much trouble, would you mind pointing me in the direction where I can find what I need. I will very sincerely appreciate it. Much thanks and keep safe.


    I have the same question as @lillithpp, I would like to have the mailpoet checkbox available in the UM registration form, but I don’t find how to make it possible.
    @champsupertramp I tried to add your code to the functions.php of my child theme, but I don’t see any effect. Maybe it was not the place ? Is there anything else to do ?

    Thank you in advance !

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.