WordPress at a glance
function is not described

wp_remote_fopen() WP 1.5.1

HTTP request for URI to retrieve content.

  • See: wp_safe_remote_get()

No Hooks.

Return

false/String. HTTP content. False on failure.

Usage

wp_remote_fopen( $uri );
$uri(string) (required)
URI/URL of web page to retrieve.

Code of wp remote fopen: wp-includes/functions.php VER 5.1.1

<?php
function wp_remote_fopen( $uri ) {
	$parsed_url = @parse_url( $uri );

	if ( ! $parsed_url || ! is_array( $parsed_url ) ) {
		return false;
	}

	$options            = array();
	$options['timeout'] = 10;

	$response = wp_safe_remote_get( $uri, $options );

	if ( is_wp_error( $response ) ) {
		return false;
	}

	return wp_remote_retrieve_body( $response );
}