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
Description Description
Parameters Parameters
- $array
-
(array) (Required) Dictionary of header values
Return Return
(array) List of headers
Source Source
File: wp-includes/class-requests.php
public static function flattern($array) { return self::flatten($array); }
Expand full source code Collapse full source code View on Trac