MTPT_PATH

The Metaplate MTPT PATH constant.

Value ()

plugin_dir_path( __FILE__ ) 

Usage

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

Defined (1)

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

/plugincore.php  
  1. define( 'MTPT_PATH', plugin_dir_path( __FILE__ ) );