summaryrefslogtreecommitdiffstats
path: root/wp-includes/class-wp-comment-query.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/class-wp-comment-query.php')
-rw-r--r--wp-includes/class-wp-comment-query.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/wp-includes/class-wp-comment-query.php b/wp-includes/class-wp-comment-query.php
index 6c4a86b..6a72c0d 100644
--- a/wp-includes/class-wp-comment-query.php
+++ b/wp-includes/class-wp-comment-query.php
@@ -927,7 +927,16 @@ class WP_Comment_Query {
*
* @since 3.1.0
*
- * @param string[] $clauses An associative array of comment query clauses.
+ * @param string[] $clauses {
+ * Associative array of the clauses for the query.
+ *
+ * @type string $fields The SELECT clause of the query.
+ * @type string $join The JOIN clause of the query.
+ * @type string $where The WHERE clause of the query.
+ * @type string $orderby The ORDER BY clause of the query.
+ * @type string $limits The LIMIT clause of the query.
+ * @type string $groupby The GROUP BY clause of the query.
+ * }
* @param WP_Comment_Query $query Current instance of WP_Comment_Query (passed by reference).
*/
$clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) );