• Resolved tlcbytaragmailcom

    (@tlcbytaragmailcom)


    I am using PMP. When my user goes to the checkout page, they are asked for a username and password. But, I must have a setting requiring me to approve new users. Because of this, when I approve them, new users are sent an email with a new password. This is confusing for users. What can I do to either prevent the password entry on the checkout or prevent a new password from being sent to new users?

    https://www.ads-software.com/plugins/paid-memberships-pro/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello. Thank you for using Paid Memberships Pro. It seems the email that is going out is the standard WordPress email for new members. You can disable WordPress from sending that email by using the following code:

    /*
    	Don't send WP's default notification email.
    */
    function my_pmpro_wp_new_user_notification($notify)
    {
    	return false;
    }
    add_filter("pmpro_wp_new_user_notification", "my_pmpro_wp_new_user_notification");

    You would add this to your theme’s functions.php file. Let us know if this works. Thanks again.

    Marking this as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Password Issue’ is closed to new replies.