separate_comments
separate_comments ( $comments )
Parameters:- (WP_Comment[]) comments Array of comments
Returns:- (WP_Comment[]) Array of comments keyed by comment_type.
Defined at: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Description
Separates an array of comments into an array keyed by comment_type.