Advertisement

WP_Http_Cookie::test

Confirms that it’s OK to send this cookie to the URL checked against.

Advertisement

Advertisement

WP_Http::buildCookieHeader

Takes the arguments for a ::request() and checks for the cookie array.

Advertisement

WP_Http::block_request

Determines whether an HTTP API request to the given URL should be blocked.