WpOrg\Requests

Proxy::register()publicWP 1.0

Register hooks as needed

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

Method of the class: Proxy{}

No Hooks.

Return

null. Nothing (null).

Usage

$Proxy = new Proxy();
$Proxy->register( $hooks );
$hooks(\WpOrg\Requests\Hooks) (required)
Hook system

Notes

  • See: \WpOrg\Requests[Hooks::register()](/function/Hooks::register)

Proxy::register() code WP 6.6.2

public function register(Hooks $hooks);