[ad_1]
Dear @davidgimenez
We apologize for the inconvenience. To resolve this issue, please follow these steps:
- Open your theme’s functions.php file.
- Add the provided code snippet to the file.
- Save the changes to the functions.php file.
- Clear your browser cache to ensure the changes take effect.
By adding this code to your theme’s functions.php file and clearing your browser cache, the issue should be resolved.function redirect_lost_password_page() {
if ( function_exists('tutor') ) {
$lostpassword_url = add_query_arg( 'action', 'retrieve_password', site_url( 'my-account/lost-password/' ) );
if ( ! empty( $redirect ) ) {
$lostpassword_url = add_query_arg( 'redirect_to', urlencode( $redirect ), $lostpassword_url );
}
return $lostpassword_url;
}
}
add_filter( 'lostpassword_url', 'redirect_lost_password_page', 99 );
Thank you.
