Requests_Cookie_Jar::register

Advertisement

Summery Summery

Register the cookie handler with the request’s hooking system

Syntax Syntax

Requests_Cookie_Jar::register( Requests_Hooker $hooks )

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'));
	}

Advertisement

Advertisement

Leave a Reply