redirection_headers_site

redirection_headers_site

Hook Type: filter

See hook in core

Displaying hooks found in version: redirection.5.5.1

apply_filters('redirection_headers_site') is found 1 times:

  • /models/header.php line 73
     
    	public function get_site_headers() {
    		$headers = array_values( $this->remove_dupes( array_filter( $this->headers, [ $this, 'is_site_header' ] ) ) );
    
    		return apply_filters( 'redirection_headers_site', $headers );
    	}
    
    	public function get_redirect_headers() {
    		// Site ones first, then redirect - redirect will override any site ones
    		$headers = $this->get_site_headers();
    		$headers = array_merge( $headers, array_values( array_filter( $this->headers, [ $this, 'is_redirect_header' ] ) ) );