wp_functionality_constants()
Defines functionality related ClassicPress constants
Source
File: wp-includes/default-constants.php
function wp_functionality_constants() {
/**
* @since WP-2.5.0
*/
if ( ! defined( 'AUTOSAVE_INTERVAL' ) ) {
define( 'AUTOSAVE_INTERVAL', 60 );
}
/**
* @since WP-2.9.0
*/
if ( ! defined( 'EMPTY_TRASH_DAYS' ) ) {
define( 'EMPTY_TRASH_DAYS', 30 );
}
if ( ! defined( 'WP_POST_REVISIONS') ) {
define( 'WP_POST_REVISIONS', true );
}
/**
* @since WP-3.3.0
*/
if ( ! defined( 'WP_CRON_LOCK_TIMEOUT' ) ) {
define( 'WP_CRON_LOCK_TIMEOUT', 60 ); // In seconds
}
}
Changelog
Version | Description |
---|---|
WP-3.0.0 | Introduced. |