wp_parse_list( array|string $list )
Cleans up an array, comma- or space-separated list of scalar values.
Description Description
As BuddyPress supports older WordPress versions than 5.1 (4.9 & 5.0), the BP REST API needs this function to be available.
Parameters Parameters
- $list
-
(Required) List of values.
Return Return
(array) Sanitized array of values.
Source Source
File: bp-core/bp-core-wpabstraction.php
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Introduced. |