redirection_headers_redirect

redirection_headers_redirect

Hook Type: filter

See hook in core

Displaying hooks found in version: redirection.5.4.2

apply_filters('redirection_headers_redirect') is found 1 times:

  • /models/header.php line 82
    		$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';
    	}