WP_HTTP_Fsockopen

This class has been deprecated. Use WP_HTTP::request instead.

Deprecated HTTP Transport method which used fsockopen.

Description

This class is not used, and is included for backward compatibility only. All code should make use of WP_Http directly through its API.

See also

Source

File: wp-includes/class-wp-http-streams.php

class WP_HTTP_Fsockopen extends WP_HTTP_Streams {
	// For backward compatibility for users who are using the class directly.
}

Changelog

Version Description
3.7.0 Please use WP_HTTP::request() directly
2.7.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_http_fsockopen