Requests_Auth_Basic::register( Requests_Hooks $hooks )

Register the necessary callbacks


Description

Top ↑

See also


Top ↑

Parameters

$hooks

(Requests_Hooks) (Required) Hook system


Top ↑

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'));
	}

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.