Last active
July 26, 2022 10:05
-
-
Save LucaRosaldi/3ba2fa66428f8cbfda04eb669218a011 to your computer and use it in GitHub Desktop.
WP: wp-config.php additional settings
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
<?php | |
/** | |
* Raise PHP memory limit. | |
*/ | |
define( 'WP_MEMORY_LIMIT', '256M' ); | |
/** | |
* Disable revisions, we don’t need them. | |
*/ | |
define( 'WP_POST_REVISIONS', false ); | |
define( 'AUTOSAVE_INTERVAL', 3600 ); | |
/** | |
* Clean up old sets when a image is edited. | |
*/ | |
define( 'IMAGE_EDIT_OVERWRITE', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment