From 62058894857b226f71fd23f05856c7c06a6b469a Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 25 Oct 2016 14:22:02 -0400 Subject: [PATCH] adding tracking pixel functions for the thank you pages of woo commerce order registration --- functions.php | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/functions.php b/functions.php index f309f14..507a08f 100644 --- a/functions.php +++ b/functions.php @@ -256,5 +256,48 @@ function remove_billing_fields( $fields ) { return $fields; } add_filter( 'woocommerce_billing_fields', 'remove_billing_fields', 20 ); +add_action( 'woocommerce_thankyou', 'tracking_pixels' ); + +function tracking_pixels(){ +?> + + + + + + + + + + + + -- 2.17.1