gtm4wp_woocommerce_html_entity_decode

The Google Tag Manager for WordPress gtm4wp woocommerce html entity decode function.

Description

gtm4wp_woocommerce_html_entity_decode( $val ); 

Parameters (1)

0. $val
The val.

Usage

  1. if ( !function_exists( 'gtm4wp_woocommerce_html_entity_decode' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-tag-manager-for-wordpress/integration/woocommerce.php'; 
  3.  
  4. // The val. 
  5. $val = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = gtm4wp_woocommerce_html_entity_decode($val); 
  9.  

Defined (1)

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

/integration/woocommerce.php  
  1. function gtm4wp_woocommerce_html_entity_decode( $val ) { 
  2. return html_entity_decode( $val, ENT_QUOTES, "utf-8" );