Warning: This method has been deprecated. Use Requests_Cookie::format_for_header instead.

Requests_Cookie::formatForHeader() WordPress Method

The formatForHeader() method of the Requests_Cookie class formats a cookie for use in an HTTP request header.

Requests_Cookie::formatForHeader() #

Format a cookie for a Cookie header


Return

(string)


Top ↑

Source

File: wp-includes/Requests/Cookie.php

	public function formatForHeader() {
		return $this->format_for_header();
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.