redirection_headers_redirect

redirection_headers_redirect

Hook Type: filter

See hook in core

Displaying hooks found in version: redirection.5.6.0

apply_filters('redirection_headers_redirect') is found 1 times:

  • /models/header.php line 162
    		$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 );
    	}
    
    	/**
    	 * Check if header is a site header
    	 *
    	 * @param HeaderData $header Header to check.