Hi @alexxx55555,
Thanks for using New User Approve, We have found some workaround and it is working on our end please use it on your end and let us know if it works for you or not.
function nua_customize_email_tags($email_tags ) {
$customized_email_tags = array();
foreach($email_tags as $email_tag) {
if ( 'login_url' == $email_tag['tag'] ) {
$email_tag['function'] = 'nua_email_tag_custom_loginurl';
$customized_email_tags[] = $email_tag;
} else {
$customized_email_tags[] = $email_tag;
}
}
return $customized_email_tags;
}
add_filter('nua_email_tags', 'nua_customize_email_tags');
function nua_email_tag_custom_loginurl( $attributes) {
return get_permalink( get_option('woocommerce_myaccount_page_id') );
}
Paste the following code in your child theme’s functions.php file so it will change the {login_url} page link to your Woo Commerce my-account page.
Thanks
Thank you
Everything works,
1. The client enters the username and password
2. waiting for the administrator’s confirmation by e-mail
3. receives an email with confirmation, the user has an email
link to My Account page
click on the link and you must enter the User and Password again
It is possible to make the customer not enter the data again, when he clicks on the link to be already registered
Thanks
Hi @alexxx55555,
The user will have to enter the details and manually login to the site.