FS_CHMOD_FILE

The WordPress Core FS CHMOD FILE constant.

Value (string)

( fileperms( ABSPATH . 'index.php' ) & 0777 | 0644 ) 

Usage

  1. if ( defined( 'FS_CHMOD_FILE' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'FS_CHMOD_FILE' ); 
  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_CHMOD_FILE', ( fileperms( ABSPATH . 'index.php' ) & 0777 | 0644 ) );