if ( ! is_user_logged_in() ) { wp_redirect( wp_login_url( home_url( $_SERVER["REQUEST_URI"] ) ) ); exit; } Minha conta - JOTA
wp-content/themes/JOTA/theme-2022/header/user-menu.php