$user_name = sanitize_text_field(get_query_var('tutor_student_username')); $sub_page = sanitize_text_field(get_query_var('profile_sub_page')); $get_user = tutor_utils()->get_user_by_login($user_name); $user_id = $get_user->ID; global $wp_query; $profile_sub_page = ''; if (isset($wp_query->query_vars['profile_sub_page']) && $wp_query->query_vars['profile_sub_page']) { $profile_sub_page = $wp_query->query_vars['profile_sub_page']; } ?>

Howdy,