DOING_S2_CRON

The Subscribe2 DOING S2 CRON constant.

Value (bool)

true 

Usage

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

Defined (1)

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

/classes/class-s2-core.php  
  1. define( 'DOING_S2_CRON', true );