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