Replies: 0
Hello,
I have a problem on my account logout page. When confirming disconnection, this takes me to a 404 page. I have already tried the codes to bypass the connection confirmation but it does not work. On my editor I find this code:
function wp_loginout( $redirect = '', $echo = true ) {
if (! is_user_logged_in() ) {
$link = '<a href="'.esc_url(wp_login_url($redirect))).'">'. __('Login') . '</a>';
} else {
$link = '<a href="'.esc_url(wp_logout_url($redirect))).'">'. __('Log out') . '</a>';
}
Maybe I can change the address here?
Thank you in advance for your help!