wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_functionality_constants › WordPress Function
Seit3.0.0
Veraltetn/v
› wp_functionality_constants ( Keine Parameter )
| Definiert in: |
|
| Codex: |
Defines functionality-related WordPress constants.
Ähnliche Funktionen: wp_initial_constants, wp_cookie_constants, wp_plugin_directory_constants, wp_ssl_constants, ms_file_constants
Quellcode
function wp_functionality_constants() {
/**
* @since 2.5.0
*/
if ( ! defined( 'AUTOSAVE_INTERVAL' ) ) {
define( 'AUTOSAVE_INTERVAL', MINUTE_IN_SECONDS );
}
/**
* @since 2.9.0
*/
if ( ! defined( 'EMPTY_TRASH_DAYS' ) ) {
define( 'EMPTY_TRASH_DAYS', 30 );
}
if ( ! defined( 'WP_POST_REVISIONS' ) ) {
define( 'WP_POST_REVISIONS', true );
}
/**
* @since 3.3.0
*/
if ( ! defined( 'WP_CRON_LOCK_TIMEOUT' ) ) {
define( 'WP_CRON_LOCK_TIMEOUT', MINUTE_IN_SECONDS );
}
}