• Resolved brynfld

    (@brynfld)


    I have a client using this plugin and they like to keep the user registration side of things under wraps. They want to control the username and password of the people who make the accounts, by assigning them and then manually sending on email with their info. The accounts later expire after two months. This plugin by default sends out a notification to the email the user enters telling them that their account has been approved and to follow a link to set their username and password.

    I would like to eliminate that notification entirely. I already tried to do so by disabling the wordpress email notification but I know now that they are separate from the one generated by this plugin. I also scoured the forums and have not found anyone else trying to accomplish this. Any help at all would be great. Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    This plugin by default sends out a notification to the email the user enters telling them that their account has been approved and to follow a link to set their username and password.

    If that’s the case, we may either be talking about a different plugin, or a process from another plugin. WP-Member’s approval process does send an email to the user when they are approved, but it would contain a password already set for the user. As such, that’s probably not an email that you would want to disable.

    There is a single filter during the email process that contains/controls just about everything regarding the plugin’s emails to users – wpmem_email_filter. The “disable” key in the array accepts a true/false boolean that allows you disable emails from being sent. Since this filter runs for all user emails from the plugin, if it’s a specific email you want to disable, you should include conditional logic based on the value of the “toggle” key, which will tell you which email is being generated. Both of these keys (and all others) are described in the filter’s documentation.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable Email sent for Approved Accounts’ is closed to new replies.