wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



_wp_http_get_object › WordPress Function

Depuis2.7.0
Dépréciéen/a
_wp_http_get_object ( Pas de paramètres )
Accès:
  • private
Retourne:
  • (WP_Http) HTTP Transport object.
Défini(e) dans:
Codex:

Returns the initialized WP_Http Object



Source

function _wp_http_get_object() {
	static $http = null;

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