Skip to content

Instantly share code, notes, and snippets.

@Adam-Mould
Created May 5, 2020 07:57
Show Gist options
  • Save Adam-Mould/c1ba90638c9b7e876cf1cd055cec1a05 to your computer and use it in GitHub Desktop.
Save Adam-Mould/c1ba90638c9b7e876cf1cd055cec1a05 to your computer and use it in GitHub Desktop.
<?php
/* Developer Config */
// Environment
define( 'DEV_MODE', true );
// Debug (based upon dev mode)
define( 'WP_DEBUG', DEV_MODE );
define( 'WP_DEBUG_LOG', DEV_MODE );
define( 'WP_DEBUG_DISPLAY', DEV_MODE );
// Limit Post Revisions
define( 'WP_POST_REVISIONS', 10 );
// Empty Trash after 7 Days
define( 'EMPTY_TRASH_DAYS', 7 );
// When editing images override the original
define( 'IMAGE_EDIT_OVERWRITE', true );
// Force SSL Admin
define( 'FORCE_SSL_ADMIN', true );
// Disable File Editor
define( 'DISALLOW_FILE_EDIT', true );
// Update Automatically
define( 'WP_AUTO_UPDATE_CORE', true );
// Advanced Caching (based upon dev mode)
define( 'WP_CACHE', !DEV_MODE );
// Contact Form 7
define( 'WPCF7_AUTOP', false );
define( 'WPCF7_LOAD_CSS', false );
// Jetpack
define( 'JETPACK_DEV_DEBUG', DEV_MODE );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment