woocommerce_track_product_view

The WooCommerce woocommerce track product view function.

Description

woocommerce_track_product_view(); 

Usage

  1. if ( !function_exists( 'woocommerce_track_product_view' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-deprecated-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = woocommerce_track_product_view(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-deprecated-functions.php  
  1. function woocommerce_track_product_view() { 
  2. wc_deprecated_function( __FUNCTION__, '3.0', 'wc_track_product_view' );