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

(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

This site uses Akismet to reduce spam. Learn how your comment data is processed.