http_response

http_response

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('http_response') is found 2 times:

  • /wp-includes/class-wp-http.php line 462
    		 * @param array  $response    HTTP response.
    		 * @param array  $parsed_args HTTP request arguments.
    		 * @param string $url         The request URL.
    		 */
    		return apply_filters( 'http_response', $response, $parsed_args, $url );
    	}
    
    	/**
    	 * Normalizes cookies for using in Requests.
    	 *
    	 * @since 4.6.0
    
  • /wp-includes/class-wp-http.php line 615
    			return $response;
    		}
    
    		/** This filter is documented in wp-includes/class-wp-http.php */
    		return apply_filters( 'http_response', $response, $args, $url );
    	}
    
    	/**
    	 * Uses the POST HTTP method.
    	 *
    	 * Used for sending data that is expected to be in the body.
    

See this hook used in plugins: