Skip to content

Commit

Permalink
exit
Browse files Browse the repository at this point in the history
  • Loading branch information
koechkevin committed Sep 18, 2024
1 parent dbf49f0 commit 39fc9f4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function custom_login_page()
if($check_path == "/wp-login.php" && $_SERVER['REQUEST_METHOD'] == 'POST' && isset($_GET["wpe-login"])){
$login = home_url("/login" . "?redirect_url=" . $path_name."&login=failed");
wp_redirect($login);
exit;
}
}

Expand Down

0 comments on commit 39fc9f4

Please sign in to comment.