Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::get_orders_table_namepublic staticWC 1.0

Get the custom orders table name.

Method of the class: OrdersTableDataStore{}

No Hooks.

Returns

String. The custom orders table name.

Usage

$result = OrdersTableDataStore::get_orders_table_name();

OrdersTableDataStore::get_orders_table_name() code WC 10.3.6

public static function get_orders_table_name() {
	global $wpdb;

	return $wpdb->prefix . 'wc_orders';
}