WpOrg\Requests

Auth::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: Auth{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Notes

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

Auth::register() code WP 6.6.2

public function register(Hooks $hooks);