WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports

SqlQuery::clear_all_clauses() public WC 1.0

Reinitialize the clause array.

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

No Hooks.

Return

null. Nothing.

Usage

$SqlQuery = new SqlQuery();
$SqlQuery->clear_all_clauses();

Code of SqlQuery::clear_all_clauses() WC 5.3.0

<?php
public function clear_all_clauses() {
	$this->sql_clauses = array(
		'select'     => array(),
		'from'       => array(),
		'left_join'  => array(),
		'join'       => array(),
		'right_join' => array(),
		'where'      => array(),
		'where_time' => array(),
		'group_by'   => array(),
		'having'     => array(),
		'limit'      => array(),
		'order_by'   => array(),
	);
}