WordPress at Your Fingertips
function is not described

Requests_Auth::register() public WP 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_Auth{}

No Hooks.


null. Nothing.


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


  • See:

Code of Requests_Auth::register() WP 5.7.2

public function register(Requests_Hooks &$hooks);