WordPress at a glance
function is not described

Requests_Proxy_HTTP::register() public WP 1.6

Register the necessary callbacks

{} It's a method of the class: Requests_Proxy_HTTP{}

No Hooks.

Return

Null. Nothing.

Usage

$Requests_Proxy_HTTP = new Requests_Proxy_HTTP();
$Requests_Proxy_HTTP->register( $hooks );
$hooks(Requests_Hooks) (required)
Hook system

Notes

  • See: curl_before_send
  • See: fsockopen_remote_socket
  • See: fsockopen_remote_host_path
  • See: fsockopen_header

Changelog

Since 1.6 Introduced.

Code of Requests_Proxy_HTTP::register() WP 5.5.1

<?php
public function register(Requests_Hooks &$hooks) {
	$hooks->register('curl.before_send', array(&$this, 'curl_before_send'));

	$hooks->register('fsockopen.remote_socket', array(&$this, 'fsockopen_remote_socket'));
	$hooks->register('fsockopen.remote_host_path', array(&$this, 'fsockopen_remote_host_path'));
	if ($this->use_authentication) {
		$hooks->register('fsockopen.after_headers', array(&$this, 'fsockopen_header'));
	}
}