WpOrg\Requests\Cookie

Jar::register()publicWP 1.0

Register the cookie handler with the request's hooking system

Method of the class: Jar{}

No Hooks.

Return

null. Nothing (null).

Usage

$Jar = new Jar();
$Jar->register( $hooks );
$hooks(\WpOrg\Requests\HookManager) (required)
Hooking system

Jar::register() code WP 6.6.2

public function register(HookManager $hooks) {
	$hooks->register('requests.before_request', [$this, 'before_request']);
	$hooks->register('requests.before_redirect_check', [$this, 'before_redirect_check']);
}