WordPress at a glance
function is not described

WP_Http::get() public WP 2.7.0

Uses the GET HTTP method.

Used for sending data that is expected to be in the body.

{} It's a method of the class: WP_Http{}

No Hooks.

Return

Array|WP_Error. Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error.

Usage

$WP_Http = new WP_Http();
$WP_Http->get( $url, $args );
$url(string) (required)
The request URL.
$args(string|array)
Override the defaults.

Changelog

Since 2.7.0 Introduced.

Code of WP_Http::get() WP 5.7.1

<?php
public function get( $url, $args = array() ) {
	$defaults    = array( 'method' => 'GET' );
	$parsed_args = wp_parse_args( $args, $defaults );
	return $this->request( $url, $parsed_args );
}