• Resolved vinay404

    (@vinay404)


    Hello,
    I am using the Houzez theme and the login and register functionality are working like a charm with your plugin. Thanks for such a nice plugin.
    My theme is sending emails with header and footer, how can i customize that in your plugins emails so it looks like that. because your plugin is sendig plain emails. is it possible ?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter vinay404

    (@vinay404)

    Hello,
    I have solved the email customization problem.
    When user register through my them frontend, admin gets email user gets email, Thats fine. Plugin doesnt send email to user if theme registration is used instead of wp-admin registration form, again which is fine.

    1. But admin is geting two emails, one from my theme which I dont want to disable. Second from your plugin, which I want to disable.
    2. After approval by admin my theme will not send any email and plugin is sending email, I want this email to be send with extra instructions, how can i do that.? Also I want to send password to user.

    Please help.

    A.Tariq

    (@arsalantariq)

    Hi @vinay404,

    Thanks for using the plugin,

    I hope you are doing well, Regarding point 1.

    We suppose you want to disable the email sent to the admin. you can use this filter to empty the content for the email sent to the admin.

    An email with no content will fail the wp validation hence will not be sent.

    $message = apply_filters( 'new_user_approve_request_approval_message', $message, $user_login, $user_email );

    Regarding point 2.

    You can use this filter to modify the user approval message. We cannot retrieve the current user password, you will have to generate a new password, add it in email content, and update the user with the new password.

    apply_filters( 'new_user_approve_approve_user_message', $message, $user );

    Thanks & Regards

    WP Experts Support Team

    A.Tariq

    (@arsalantariq)

    HI @vinay404,

    We haven’t heard from you so we’re going to mark this thread as resolved. Feel free to open a new one if you need it.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable email and send through my theme function’ is closed to new replies.