separate_comments


separate_comments ( $comments )

Parameters:
  • (WP_Comment[]) $comments Array of comments
Returns:
  • (WP_Comment[]) Array of comments keyed by comment_type.
Defined at:

Description

Separates an array of comments into an array keyed by comment_type.

Related Functions

get_comments, have_comments, wp_update_comment, wp_insert_comment, get_comment

Top Google Results

User discussions

wpseek mobile