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.
Метод класса: OrdersTableDataStore{}
Хуков нет.
Возвращает
string. Column reference.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_refund_parent_column(): string;
Список изменений
| С версии 10.7.0 | Введена. |
Код OrdersTableDataStore::get_refund_parent_column() OrdersTableDataStore::get refund parent column WC 11.1.1
protected function get_refund_parent_column(): string {
return 'refunds.parent_order_id';
}