WordPress at Your Fingertips
function is not described

ActionScheduler_wpCommentLogger::filter_comment_query_clauses() public WC 1.0

{} It's a method of the class: ActionScheduler_wpCommentLogger{}

No Hooks.

Return

Array.

Usage

$ActionScheduler_wpCommentLogger = new ActionScheduler_wpCommentLogger();
$ActionScheduler_wpCommentLogger->filter_comment_query_clauses( $clauses, $query );
$clauses(array) (required)
-
$query(WP_Comment_Query) (required)
-

Code of ActionScheduler_wpCommentLogger::filter_comment_query_clauses() WC 6.1.1

public function filter_comment_query_clauses( $clauses, $query ) {
	if ( !empty($query->query_vars['action_log_filter']) ) {
		$clauses['where'] .= $this->get_where_clause();
	}
	return $clauses;
}