register() – Register hooks as needed

You appear to be a bot. Output may be restricted

Description

Register hooks as needed

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

Usage

register();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/Requests/Auth.php


Lines:

1 to 2 of 2
  public function register(Requests_Hooks $hooks);
 

 View on GitHub View on Trac