Warning: This method has been deprecated. Misspelling of Requests::flatten instead.

Requests::flattern( array $array )

Convert a key => value array to a ‘key: value’ array for headers


Parameters

$array

(array) (Required) Dictionary of header values


Top ↑

Return

(array) List of headers


Top ↑

Source

File: wp-includes/class-requests.php

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


Top ↑

User Contributed Notes

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