EMPTY_TRASH_DAYS

The WordPress Core EMPTY TRASH DAYS constant.

Value (int)

30 

Usage

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

Defined (1)

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

/wp-includes/default-constants.php  
  1. define( 'EMPTY_TRASH_DAYS', 30 );