FTP_OS_Mac

The WordPress Core FTP OS Mac constant.

Value (string)

'm' 

Usage

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