Register the cookie handler with the request’s hooking system
Parameters
$hooks
WpOrgRequestsHookManagerrequired- Hooking system
Source
public function register(HookManager $hooks) {
$hooks->register('requests.before_request', [$this, 'before_request']);
$hooks->register('requests.before_redirect_check', [$this, 'before_redirect_check']);
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.