redirection_request_header

redirection_request_header

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: redirection.5.5.1

apply_filters('redirection_request_header') is found 1 times:

  • /models/request.php line 236
    		$name = 'HTTP_' . strtoupper( $name );
    		$name = str_replace( '-', '_', $name );
    
    		if ( isset( $_SERVER[ $name ] ) && is_string( $_SERVER[ $name ] ) ) {
    			return apply_filters( 'redirection_request_header', sanitize_text_field( $_SERVER[ $name ] ), $name );
    		}
    
    		return false;
    	}
    
    	/**