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.

Метод класса: Auth{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Auth = new Auth();
$Auth->register( $hooks );
$hooks(\WpOrg\Requests\Hooks) (обязательный)
Hook system

Заметки

  • Смотрите: \WpOrg\Requests[Hooks::register()](/function/Hooks::register)

Код Auth::register() WP 6.6.2

public function register(Hooks $hooks);