Requests_Proxy::register()publicWP 1.0

Register hooks as needed

This method is called in Requests::request() when the user has set an instance as the 'auth' option. Use this callback to register all the hooks you'll need.

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

No Hooks.

Return

null. Nothing.

Usage

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

Notes

Code of Requests_Proxy::register() WP 6.0

public function register(Requests_Hooks $hooks);