WordPress at Your Fingertips
function is not described

Requests::flattern() public WP 1.0

Deprecated. It is no longer supported and can be removed in future releases. See Requests::flatten}.

Convert a key => value array to a 'key: value' array for headers

{} It's a method of the class: Requests{}

No Hooks.


Array. List of headers


$result = Requests::flattern( $array );
$array(array) (required)
Dictionary of header values


Deprecated Misspelling of {@see Requests::flatten}

Code of Requests::flattern() WP 5.8.3

public static function flattern($array) {
	return self::flatten($array);