Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function detect_response_header(){
- if (http_response_code() == 403) {
- header('Location: https://website.com/403.php'); exit;
- }
- }
- add_action('init','detect_response_header');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement