WP_FS__IS_HTTP_REQUEST

The NextGEN Gallery WP FS IS HTTP REQUEST constant.

Value (string)

isset( $_SERVER['HTTP_HOST'] ) 

Usage

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

Defined (1)

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

/freemius/config.php  
  1. define( 'WP_FS__IS_HTTP_REQUEST', isset( $_SERVER['HTTP_HOST'] ) );