Requests_Auth_Basic::register

Advertisement

Summery Summery

Register the necessary callbacks

Syntax Syntax

Requests_Auth_Basic::register( Requests_Hooks $hooks )

Parameters Parameters

$hooks

(Requests_Hooks) (Required) Hook system

Source Source

File: wp-includes/Requests/Auth/Basic.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'));
	}

Advertisement

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.