GTM4WP_WPFILTER_GETTHEGTMTAG

The Google Tag Manager for WordPress GTM4WP WPFILTER GETTHEGTMTAG constant.

Value (string)

'gtm4wp_get_the_gtm_tag' 

Usage

  1. if ( defined( 'GTM4WP_WPFILTER_GETTHEGTMTAG' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'GTM4WP_WPFILTER_GETTHEGTMTAG' ); 
  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_GETTHEGTMTAG', 'gtm4wp_get_the_gtm_tag' );