WordPress at a glance
function is not described

Requests_Auth_Basic::register() public WP 1.0

Register the necessary callbacks

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

No Hooks.

Return

Null. Nothing.

Usage

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

Notes

  • See: curl_before_send
  • See: fsockopen_header

Code of Requests_Auth_Basic::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.after_headers', array(&$this, 'fsockopen_header'));
}