W3TC_WIN

The W3 Total Cache W3TC WIN constant.

Value (string)

( strtoupper( substr( PHP_OS, 0, 3 ) ) === 'WIN' ) 

Usage

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

Defined (1)

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

/w3-total-cache-api.php