Support » Plugin: Eonet Manual User Approve » filter or option to set recipient

  • Resolved XXVII

    (@xxvii)


    Hello,
    I need to send the approval e-mail not to the admin but to another e-mail address.

    It happens very often that the person in charge of manage users is someone in the client company, and the admin is the one who built the site and doesn’t want to receive approval e-mails nor he doesn’t know if he has to approve a user or not.

    It would be useful to have an option or a filter to change the recipient of the approval e-mails.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author antonioeatgoat

    (@antonioeatgoat)

    Hello there,

    This makes a lot of sense, I’ll definitely add a filter in the next update, for now you might manually change it in the plugin files.

    You can open the file ManualUserApprove.php and search for the function send_request_notification_to_admin.

    Let me know if you need more details 😉

    For public utility:

    The file is
    /wp-content/plugins/eonet-manual-user-approve/component-manual-user-approve/EonetManualUserApprove.php

    Go to row 195 , comment it and add below the desired e-mail address, like this:

    //$sender->setTo(get_option( 'admin_email' ));
    $sender->setTo('yournamename@domain.com');

    PS: Antonio, any approximate date for an update with the needed filter? Thank you.

    Plugin Author antonioeatgoat

    (@antonioeatgoat)

    Thank you so much for the details added 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘filter or option to set recipient’ is closed to new replies.