Advertisements

wp_functionality_constants

Definition:
function wp_functionality_constants( ) {}

Defines functionality related WordPress constants

Source code

function wp_functionality_constants( ) {

	/**

	 * @since 2.5.0

	 */

	if ( !defined( 'AUTOSAVE_INTERVAL' ) )

		define( 'AUTOSAVE_INTERVAL', 60 );



	/**

	 * @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', 60);  // In seconds

}

3665

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: