From 01ac21857a54f1fffabfd8caea2794ce6b622564 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Fri, 11 Nov 2011 11:48:42 +0000 Subject: [PATCH] woocommerce_payment_complete hook --- classes/order.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/order.class.php b/classes/order.class.php index 889654d4ea4..f6314a5c91d 100644 --- a/classes/order.class.php +++ b/classes/order.class.php @@ -453,6 +453,7 @@ class woocommerce_order { $this->record_product_sales(); $this->reduce_order_stock(); + do_action( 'woocommerce_payment_complete', $this->id ); } /**