WordPress at Your Fingertips
function is not described

WC_Order::get_remaining_refund_items() public WC 1.0

How many items are left to refund?

{} It's a method of the class: WC_Order{}

No Hooks.

Return

Int.

Usage

$WC_Order = new WC_Order();
$WC_Order->get_remaining_refund_items();

Code of WC_Order::get_remaining_refund_items() WC 5.7.1

public function get_remaining_refund_items() {
	return absint( $this->get_item_count() - $this->get_item_count_refunded() );
}