Requests::flattern

Advertisement

Deprecated Deprecated

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

Summery Summery

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

Syntax Syntax

Requests::flattern( array $array )

Parameters Parameters

$array

(Required) Dictionary of header values

Return Return

(string[]) List of headers

Source Source

File: wp-includes/class-requests.php

	 * @return string[] List of headers
	 */
	public static function flattern($array) {

Advertisement

Advertisement

Leave a Reply