Requests_Cookie_Jar::register( Requests_Hooker $hooks )

Register the cookie handler with the request’s hooking system


Description Description


Parameters Parameters

$hooks

(Requests_Hooker) (Required) Hooking system


Top ↑

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

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.