redirection_headers_redirect

redirection_headers_redirect

Hook Type: filter

See hook in core

Displaying hooks found in version: redirection.5.5.2

apply_filters('redirection_headers_redirect') is found 1 times:

  • /models/header.php line 94
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
        $headers = $this->get_site_headers();
        $headers = array_merge( $headers, array_values( array_filter( $this->headers, [ $this, 'is_redirect_header' ] ) ) );
        $headers = array_values( $this->remove_dupes( $headers ) );
     
        return apply_filters( 'redirection_headers_redirect', $headers );
    }
     
    private function is_site_header( $header ) {
        return $header['location'] === 'site';
    }