Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableSearchQuery::get_sql_clauses()publicWC 1.0

Supplies an array of clauses to be used in an order query.

Метод класса: OrdersTableSearchQuery{}

Хуков нет.

Возвращает

Массив.

Использование

$OrdersTableSearchQuery = new OrdersTableSearchQuery();
$OrdersTableSearchQuery->get_sql_clauses(): array;

Код OrdersTableSearchQuery::get_sql_clauses() WC 7.1.0

public function get_sql_clauses(): array {
	return array(
		'join'  => array( $this->generate_join() ),
		'where' => array( $this->generate_where() ),
	);
}