W3cubDocs

/WordPress

Requests_Cookie::formatForHeader()

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

Format a cookie for a Cookie header

Return

(string)

Source

File: wp-includes/Requests/Cookie.php

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

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_cookie/formatforheader