FS_SDK__HAS_CURL

The NextGEN Gallery FS SDK HAS CURL constant.

Value (string)

! FS_SDK__SIMULATE_NO_CURL && function_exists( 'curl_version' ) 

Usage

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

Defined (1)

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

/freemius/includes/sdk/Freemius.php  
  1. define( 'FS_SDK__HAS_CURL', ! FS_SDK__SIMULATE_NO_CURL && function_exists( 'curl_version' ) );