Hi @mdh01901,
Thanks for contacting us,
I hope you are doing well, We have to check this and we will keep you updated on this.
Thanks & Regards
WP Experts Support Team
Hi @mdh01901,
This snippet of code will resolve the issue that you want. Please add this code to theme functions.php.
add_filter('new_user_approve_approve_user_message_default', 'nua_update_user_approve_email');
function nua_update_user_approve_email( $message ) {
// updated message for user approve email.
$message = __( 'You have been approved to access {sitename}. Please login and click “My Dashboard” to enter the Learning portal', 'new-user-approve' ) . "\r\n\r\n";
$message .= "{username}\r\n\r\n";
$message .= "{login_url}\r\n\r\n";
$message .= __( 'To set or reset your password, visit the following address:', 'new-user-approve' ) . "\r\n\r\n";
$message .= "{reset_password_url}";
return $message;
}
Please check it and let me know.
Thank you
Thanks so much, this worked!
Hi @mdh01901,
We would appreciate a kind and honest review.
Thank you
Hello, you helped me with this issue a few months ago, but it seems something went wrong. When I approve a customer, they should get a confirmation email saying they are approved with the link to sign in. The customer is no longer receiving this email after they are approved. Normally they are a subscriber when they register, but the two people who didn’t receive the approved email were signed in as contributors instead of subscribers. Would that be a reason why they didn’t receive the approved email? Is there a way to fix this? Thank you for your help.
Hi @mdh01901,
Thanks for getting back to me,
Approve email is the same for all the users whether they are contributors or subscribers it doesn’t matter.
I think the script we shared with you is no longer available in the function.php file of your active theme or maybe you have changed your theme. Please look for the script in your function.php file of the currently active theme if it’s not there then please re-Add it and test this issue again, if still, you are facing the same issue after those changes then please let me know.
Thank you