• Resolved Chad

    (@aeboi80)


    We have the plugin configured to hold new accounts in moderation for admin approval. When the admin goes into the moderation queue and approves someone, the new user gets an email which simply says “Your account with username: [MyUserName] is now active”

    Is there a hook which we can use to change the text which is in that email?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, try the following plugin Better Notifications for WordPress.

    Let me know if this helps you.

    Kind regards

    Plugin Contributor wpsolutions

    (@wpsolutions)

    Hi @aeboi80,
    Yes there are a couple of filters which deal with the email subject and the email text body:

    $subject = apply_filters( 'aiowps_register_approval_email_subject', $subject );
    $email_msg = apply_filters( 'aiowps_register_approval_email_msg', $email_msg, $user );

    I think the ‘aiowps_register_approval_email_msg’ filter might be the one you are looking for. It also passes the WP_User object in case you need it.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, is your issue resolved?

    Thank you

    Thread Starter Chad

    (@aeboi80)

    Yes. Thank you ??

    • This reply was modified 5 years, 6 months ago by Chad.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hook to Modify Email’ is closed to new replies.