You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 21, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: includes/abstracts/abstract-wcs-related-order-store.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -86,10 +86,11 @@ protected function init() {}
86
86
*
87
87
* @param WC_Order $subscription The order or subscription for which calling code wants to find related orders.
88
88
* @param string $relation_type The relationship between the subscription and the orders. Must be 'renewal', 'switch' or 'resubscribe' unless custom relationships are implemented.
89
+
* @param bool $include_draft Whether to include draft orders in the results (`wc-checkout-draft` status).
* @param string $return_fields The columns to return, either 'all' or 'ids'
2079
2080
* @param array $order_types Can include any combination of 'parent', 'renewal', 'switch' or 'any' which will return the latest renewal order of any type. Defaults to 'parent' and 'renewal'.
2081
+
* @param bool $include_draft Whether to include draft orders in the search. Defaults to true.
2080
2082
* @since 1.0.0 - Migrated from WooCommerce Subscriptions v2.0
0 commit comments