Requests_Cookie::format_for_header()

Format a cookie for a Cookie header


Description Description

This is used when sending cookies to a server.


Return Return

(string) Cookie formatted for Cookie header


Top ↑

Source Source

File: wp-includes/Requests/Cookie.php

	public function format_for_header() {
		return sprintf('%s=%s', $this->name, $this->value);
	}


Top ↑

User Contributed Notes User Contributed Notes

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