WordPress at a glance
function is not described

_wp_http_get_object() WP 2.7.0

Returns the initialized WP_Http Object

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.


WP_Http. HTTP Transport object.




Since 2.7.0 Introduced.

Code of _wp_http_get_object() WP 5.7.2

function _wp_http_get_object() {
	static $http = null;

	if ( is_null( $http ) ) {
		$http = new WP_Http();
	return $http;