PCLZIP_ERR_WRITE_OPEN_FAIL

The WordPress Core PCLZIP ERR WRITE OPEN FAIL constant.

Value (int)

-1 

Usage

  1. if ( defined( 'PCLZIP_ERR_WRITE_OPEN_FAIL' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'PCLZIP_ERR_WRITE_OPEN_FAIL' ); 
  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/class-pclzip.php  
  1. define( 'PCLZIP_ERR_WRITE_OPEN_FAIL', -1 );