How to get Order Details from a WC_Subscription instance Object – Woocommerce
This one for completed initial subscription payments and subscription renewals. function payment_made($subscription){ // How do I get the order details? } add_action("woocommerce_subscription_payment_complete", "payment_made"); And this one for when a status is changed, so I can handle manual and system changes…