WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports

SqlQuery::clear_sql_clause() protected WC 1.0

Clear SQL clauses by type.

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

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->clear_sql_clause( $types );
$types(string|array) (required)
Clause type.

Code of SqlQuery::clear_sql_clause() WC 5.3.0

<?php
protected function clear_sql_clause( $types ) {
	foreach ( (array) $types as $type ) {
		if ( isset( $this->sql_clauses[ $type ] ) ) {
			$this->sql_clauses[ $type ] = array();
		}
	}
}