Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::get_address_table_alias()privateWC 1.0

Helper function to get alias for address table, this is used in select query.

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

No Hooks.

Return

String. Alias.

Usage

// private - for code of main (parent) class only
$result = $this->get_address_table_alias( $type ) : string;
$type(string) (required)
Address type.

Code of OrdersTableDataStore::get_address_table_alias() WC 7.1.0

private function get_address_table_alias( string $type ) : string {
	return "address_$type";
}