Fix crash on renewal..
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
..again?
This commit is contained in:
parent
d6004d6cb3
commit
39ba56eca6
@ -181,6 +181,8 @@ function action_wcs_renewal_order_created($order, $subscription)
|
|||||||
// Update the custom field "coffees" with the processed coffee data for the current renewal order
|
// Update the custom field "coffees" with the processed coffee data for the current renewal order
|
||||||
update_field("coffees", $order_coffees, $order->get_ID());
|
update_field("coffees", $order_coffees, $order->get_ID());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $order;
|
||||||
}
|
}
|
||||||
// Hook the above function to the 'wcs_renewal_order_created' action
|
// Hook the above function to the 'wcs_renewal_order_created' action
|
||||||
add_action(
|
add_action(
|
||||||
|
Loading…
Reference in New Issue
Block a user