File: wp-includes/class-wp-comment-query.php
-
Filters the comments data before the query takes place.
-
Populates found_comments and max_num_pages properties for the current query if the limit clause was used.
-
Fires after the comment query vars have been parsed.
-
Filters the query used to retrieve found comment count.
-
Used internally to get a list of comment IDs matching the query vars.
-
Fetch descendants for located comments.
-
Parse an ‘order’ query variable and cast it to ASC or DESC as necessary.
-
Get a list of comments matching the query vars.
-
Parse and sanitize ‘orderby’ keys passed to the comment query.
-
Constructor.
-
Parse arguments passed to the comment query with default query parameters.
-
Make private/protected methods readable for backward compatibility.
-
classWP_Comment_Query
Core class used for querying comments.
-
Sets up the WordPress query for retrieving comments.
-
hookpre_get_comments
Fires before comments are retrieved.
-
hookcomments_clauses
Filters the comment query clauses.
-
hookthe_comments
Filters the comment query results.
-
Used internally to generate an SQL string for searching across multiple columns.