Automattic\WooCommerce\Internal\DataStores\Orders
OrdersTableDataStore::get_refund_parent_column
Returns the column name on the refund table alias (refunds) that holds the parent order ID.
Method of the class: OrdersTableDataStore{}
No Hooks.
Returns
String. Column reference.
Usage
// protected - for code of main (parent) or child class $result = $this->get_refund_parent_column(): string;
Changelog
| Since 10.7.0 | Introduced. |
OrdersTableDataStore::get_refund_parent_column() OrdersTableDataStore::get refund parent column code WC 10.8.1
protected function get_refund_parent_column(): string {
return 'refunds.parent_order_id';
}