Abstract_WC_Order_Data_Store_CPT::get_refund_parent_column
Returns the column name on the refund table alias (refunds) that holds the parent order ID.
Метод класса: Abstract_WC_Order_Data_Store_CPT{}
Хуков нет.
Возвращает
string. Column reference, e.g. 'refunds.post_parent'.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_refund_parent_column(): string;
Список изменений
| С версии 10.7.0 | Введена. |
Код Abstract_WC_Order_Data_Store_CPT::get_refund_parent_column() Abstract WC Order Data Store CPT::get refund parent column WC 11.2.2
protected function get_refund_parent_column(): string {
return 'refunds.post_parent';
}