unhook correction

This commit is contained in:
Mike Jolley 2012-05-03 17:48:42 +01:00
parent eeab617e60
commit afd3eda733
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class WC_Google_Analytics extends WC_Integration {
if ( ! $tracking_id ) return;
// Doing eCommerce tracking so unhook standard tracking from the footer
remove_action('wp_footer', 'woocommerce_google_tracking');
remove_action('wp_footer', array( &$this, 'google_tracking_code' ) );
// Get the order and output tracking code
$order = new WC_Order($order_id);