WP_Comment_Query
Methods
1 to 9 of 9
- WP_Comment_Query::__call() – Make private/protected methods readable for backward compatibility.
- WP_Comment_Query::__construct() – Constructor.
- WP_Comment_Query::fill_descendants() – Fetch descendants for located comments.
- WP_Comment_Query::get_search_sql() – Used internally to generate an SQL string for searching across multiple columns
- WP_Comment_Query::parse_order() – Parse an ‘order’ query variable and cast it to ASC or DESC as necessary.
- WP_Comment_Query::parse_orderby() – Parse and sanitize ‘orderby’ keys passed to the comment query.
- WP_Comment_Query::parse_query() – Parse arguments passed to the comment query with default query parameters.
- WP_Comment_Query::query() – Sets up the WordPress query for retrieving comments.
- WP_Comment_Query::set_found_comments() – Populates found_comments and max_num_pages properties for the current query if the limit clause was used.