GTM4WP_WPFILTER_COMPILE_DATALAYER

The Google Tag Manager for WordPress GTM4WP WPFILTER COMPILE DATALAYER constant.

Value (string)

'gtm4wp_compile_datalayer' 

Usage

  1. if ( defined( 'GTM4WP_WPFILTER_COMPILE_DATALAYER' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'GTM4WP_WPFILTER_COMPILE_DATALAYER' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (1)

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

/public/frontend.php  
  1. define( 'GTM4WP_WPFILTER_COMPILE_DATALAYER', 'gtm4wp_compile_datalayer' );