W3cubDocs

/WordPress

Requests_Cookie::formatForSetCookie()

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

Format a cookie for a Set-Cookie header

Return

(string)

Source

File: wp-includes/Requests/Cookie.php

public function formatForSetCookie() {
		return $this->format_for_set_cookie();
	}

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