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

(Requests_Hooker) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.