redirection_header

redirection_header

Hook Type: action

See hook in core

Displaying hooks found in version: redirection.5.5.2

do_action('redirection_header') is found 1 times:

  • /models/header.php line 114
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
                $name = $this->sanitize( $this->dash_case( $header['headerName'] ) );
                $value = $this->sanitize( $header['headerValue'] );
     
                // Trigger some other action
                do_action( 'redirection_header', $name, $value );
     
                header( sprintf( '%s: %s', $name, $value ) );
                $done[] = $header['headerName'];
            }
        }
    }