Jar::register( WpOrgRequestsHookManager $hooks )

In this article

Register the cookie handler with the request’s hooking system

Parameters

$hooksWpOrgRequestsHookManagerrequired
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.