Last active
December 31, 2015 07:39
-
-
Save ajiseco/7955096 to your computer and use it in GitHub Desktop.
Custom config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable revisions: | |
define('WP_POST_REVISIONS', false); | |
# Number of revisions: | |
define('WP_POST_REVISIONS', 2); | |
# Empty trash | |
define('EMPTY_TRASH_DAYS', 0 ); | |
# Enables all core updates, including minor and major: | |
define( 'WP_AUTO_UPDATE_CORE', true ); | |
# Disallow direct file edition | |
define('DISALLOW_FILE_EDIT', TRUE); | |
# Change location of the Plugins & WordPress Themes folder | |
define(‘WP_CONTENT_DIR’, ‘http://www.labnol.org/assets/wp-content’); | |
# Change location of the uploads folder | |
define("WP_CONTENT_URL", "http://cdn.renzojohnson.com"); | |
# Define cookie domain | |
define("COOKIE_DOMAIN", "www.renzojohnson.com"); | |
# Enables updates plugins | |
add_filter( 'auto_update_plugin', '__return_true' ); | |
# Enables updates themes | |
add_filter( 'auto_update_theme', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment