wp_remote_get( ... )

Performs an HTTP request using the GET method and returns its response.

Parameters:
  • $url string
  • $args array