Summery Summery
Register the cookie handler with the request’s hooking system
Syntax Syntax
Parameters Parameters
- $hooks
-
(Required) Hooking system
Source Source
File: wp-includes/Requests/Cookie/Jar.php
public function register(Requests_Hooker $hooks) { $hooks->register('requests.before_request', array($this, 'before_request')); $hooks->register('requests.before_redirect_check', array($this, 'before_redirect_check')); }