WpOrg\Requests
Proxy::register
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.
Returns
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() Proxy::register code WP 7.1
public function register(Hooks $hooks);