wp_parse_id_list
wp_parse_id_list ( $input_list )
Parameters:- (array|string) input_list List of IDs.
Returns:- (int[]) Sanitized array of IDs.
Defined at:Change Log: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Cleans up an array, comma- or space-separated list of IDs.