Abstract_WC_Order_Data_Store_CPT::get_refund_parent_columnprotectedWC 10.7.0

Returns the column name on the refund table alias (refunds) that holds the parent order ID.

Method of the class: Abstract_WC_Order_Data_Store_CPT{}

No Hooks.

Returns

String. Column reference, e.g. 'refunds.post_parent'.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_refund_parent_column(): string;

Changelog

Since 10.7.0 Introduced.

Abstract_WC_Order_Data_Store_CPT::get_refund_parent_column() code WC 10.7.0

protected function get_refund_parent_column(): string {
	return 'refunds.post_parent';
}