Last active
December 20, 2020 22:23
-
-
Save johanguse/53583a1e1d2a9cd19fbd04111a63058c to your computer and use it in GitHub Desktop.
WP-config Hooks
This file contains 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 WP-Cron */ | |
define('DISABLE_WP_CRON', true); | |
/* WP auto save posts timer */ | |
define('AUTOSAVE_INTERVAL', 300); // seconds | |
/* Reduce post revision to clean db */ | |
define( 'WP_POST_REVISIONS', 5 ); | |
define( 'EMPTY_TRASH_DAYS', 7 ); | |
/* Debug */ | |
define( 'WP_DEBUG', true ); | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', true ); | |
define( 'WP_AUTO_UPDATE_CORE', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment