WordPress.org

  • Showcase
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/class-wp-comment-query.php

WP_Comment_Query::set_found_comments()

Method: Populates found_comments and max_num_pages properties for the current query if the limit clause was used.

Source: wp-includes/class-wp-comment-query.php:907

Used by 1 function | Uses 3 functions

parse_comment_query

Action Hook: Fires after the comment query vars have been parsed.

Source: wp-includes/class-wp-comment-query.php:328

Used by 1 function | Uses 0 functions

found_comments_query

Filter Hook: Filters the query used to retrieve found comment count.

Source: wp-includes/class-wp-comment-query.php:919

Used by 1 function | Uses 0 functions

WP_Comment_Query::get_comment_ids()

Method: Used internally to get a list of comment IDs matching the query vars.

Source: wp-includes/class-wp-comment-query.php:477

Used by 1 function | Uses 13 functions

WP_Comment_Query::fill_descendants()

Method: Fetch descendants for located comments.

Source: wp-includes/class-wp-comment-query.php:938

Used by 1 function | Uses 8 functions

WP_Comment_Query::get_comments()

Method: Get a list of comments matching the query vars.

Source: wp-includes/class-wp-comment-query.php:358

Used by 1 function | Uses 16 functions

WP_Comment_Query::parse_orderby()

Method: Parse and sanitize ‘orderby’ keys passed to the comment query.

Source: wp-includes/class-wp-comment-query.php:1076

Used by 1 function | Uses 1 function

WP_Comment_Query::parse_order()

Method: Parse an ‘order’ query variable and cast it to ASC or DESC as necessary.

Source: wp-includes/class-wp-comment-query.php:1137

Used by 1 function | Uses 0 functions

WP_Comment_Query::__construct()

Method: Constructor.

Source: wp-includes/class-wp-comment-query.php:253

Used by 5 functions | Uses 1 function

WP_Comment_Query::parse_query()

Method: Parse arguments passed to the comment query with default query parameters.

Source: wp-includes/class-wp-comment-query.php:314

Used by 1 function | Uses 3 functions

WP_Comment_Query::__call()

Method: Make private/protected methods readable for backward compatibility.

Source: wp-includes/class-wp-comment-query.php:125

Used by 0 functions | Uses 0 functions

WP_Comment_Query::get_search_sql()

Method: Used internally to generate an SQL string for searching across multiple columns

Source: wp-includes/class-wp-comment-query.php:1053

Used by 1 function | Uses 2 functions

WP_Comment_Query

Class: Core class used for querying comments.

Source: wp-includes/class-wp-comment-query.php:17

Used by 0 functions | Uses 0 functions

WP_Comment_Query::query()

Method: Sets up the WordPress query for retrieving comments.

Source: wp-includes/class-wp-comment-query.php:344

Used by 1 function | Uses 2 functions

pre_get_comments

Action Hook: Fires before comments are retrieved.

Source: wp-includes/class-wp-comment-query.php:374

Used by 1 function | Uses 0 functions

comments_clauses

Filter Hook: Filters the comment query clauses.

Source: wp-includes/class-wp-comment-query.php:855

Used by 1 function | Uses 0 functions

the_comments

Filter Hook: Filters the comment query results.

Source: wp-includes/class-wp-comment-query.php:455

Used by 1 function | Uses 0 functions
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.

Skip to toolbar
  • About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register