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