MONSTERINSIGHTS_PLUGIN_DIR

The Google Analytics for WordPress by MonsterInsights MONSTERINSIGHTS PLUGIN DIR constant.

Value (unknown)

plugin_dir_path( $this->file ) 

Usage

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

Defined (1)

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

/googleanalytics.php  
  1. define( 'MONSTERINSIGHTS_PLUGIN_DIR', plugin_dir_path( $this->file ) );