Automattic\WooCommerce\Internal\DataStores\Orders
OrdersTableSearchQuery::generate_join()
Generates the necessary JOIN clauses for the order search to be performed.
Method of the class: OrdersTableSearchQuery{}
No Hooks.
Return
String
.
Usage
// private - for code of main (parent) class only $result = $this->generate_join(): string;
OrdersTableSearchQuery::generate_join() OrdersTableSearchQuery::generate join code WC 9.3.3
private function generate_join(): string { $join = array(); foreach ( $this->search_filters as $search_filter ) { $join[] = $this->generate_join_for_search_filter( $search_filter ); } return implode( ' ', $join ); }