Guest User

Untitled

a guest
Sep 16th, 2017
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function detect_response_header(){
  2. if (http_response_code() == 403) {
  3. header('Location: https://website.com/403.php'); exit;
  4. }
  5. }
  6. add_action('init','detect_response_header');
RAW Paste Data