WpOrg\Requests
Auth::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.
Метод класса: Auth{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Auth = new Auth(); $Auth->register( $hooks );
- $hooks(WpOrg\Requests\Hooks) (обязательный)
- Hook system.
Заметки
| Смотрите: \WpOrg\Requests[Hooks::register()](/function/Hooks::register) |
Код Auth::register() Auth::register WP 7.1.4
public function register(Hooks $hooks);