Uses
Uses | Description |
---|---|
wp-includes/class-requests.php: Requests::flatten() | Convert a key => value array to a ‘key: value’ array for headers |
This method has been deprecated. Misspelling of Requests::flatten instead.
Convert a key => value array to a ‘key: value’ array for headers
(array) (Required) Dictionary of header values
(string[]) List of headers
File: wp-includes/class-requests.php
public static function flattern($array) { return self::flatten($array); }
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests/flattern