• Hi
    I need to make mass users registration programatically or at least sending the UM email notification activation account (action: activate_via_email) after basic wp registration(this I can do).
    How can I do it?

    Thanks

    Patrice Coacolo

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @arretnet,

    I’m afraid, currently it’s not possible, however, you can import users via CSV import/export plugins.

    Regards.

    Thread Starter arretnet

    (@arretnet)

    Hi,
    yes you can I did it
    I used wp_insert_user and created the link in my plugin using the “activate_via_email” mail template, this one is sending by wp_mail.

    I uszed this to create $hash:
    $hash=UM()->validation()->generate();
    update_user_meta( $user_id, ‘account_secret_hash’, $hash);

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Doing registration programmaticaly’ is closed to new replies.