Issue with Personal Data Export Confirmation URL
-
Hi,
I’m testing user Data Export/Erase requests with WordPress (4.9.10) Tool.
It’s all ok, but, because I’ve added in function.php file a snippet to change default WordPress wp-login page with Woocommercce my-account page, it happens that the Confirmation URL on the confirmation email the user receives doesn’t work.
It is https://mywebsite/my-account/?action=confirmaction&request_id=XXX_key=YYY instead of https://mywebsite/wp-login/?action=confirmaction&request_id=XXX_key=YYYMy snippet to change login in function.php is
function wp_change_login_url ( $login_url, $redirect, $force_reauth ) {
return get_permalink( wc_get_page_id( ‘myaccount’ ) );
}
add_filter( ‘login_url’, ‘wp_change_login_url’, 10, 3);How can i solve this problem on email confirmation url without delete my snippet?
Thanks
- The topic ‘Issue with Personal Data Export Confirmation URL’ is closed to new replies.