OrdersTableDataStore::join_shipping_address_table_to_order_query()privateWC 1.0

Helper method to generate join query for shipping addresses in wc_address table.

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

No Hooks.


Array. Select and join statements for shipping address table.


// private - for code of main (parent) class only
$result = $this->join_shipping_address_table_to_order_query( $order_table_alias, $address_table_alias );
$order_table_alias(string) (required)
Alias for order table to use in join.
$address_table_alias(string) (required)
Alias for address table to use in join.

Code of OrdersTableDataStore::join_shipping_address_table_to_order_query() WC 6.6.1

private function join_shipping_address_table_to_order_query( $order_table_alias, $address_table_alias ) {
	return $this->join_address_table_order_query( 'shipping', $order_table_alias, $address_table_alias );