S2DIR

The Subscribe2 S2DIR constant.

Value ()

trailingslashit(dirname(plugin_basename(__FILE__))) 

Usage

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

Defined (1)

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

/subscribe2.php  
  1. define( 'S2DIR', trailingslashit(dirname(plugin_basename(__FILE__))) );