FS_CONNECT_TIMEOUT

The WordPress Core FS CONNECT TIMEOUT constant.

Value (int)

30 

Usage

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

Defined (1)

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

/wp-admin/includes/file.php  
  1. define('FS_CONNECT_TIMEOUT', 30);