Increase memory
define( 'WP_MEMORY_LIMIT', '512M' );
Increase memory for admin area
define('WP_MAX_MEMORY_LIMIT', '1024M');
Turn on error messages
define('WP_DEBUG', true); // Set to 'true' to enable debugging and display on front-end:
define( 'WP_DEBUG_LOG', true ); // Set to 'true' to enable logging (../wp-content/debug.log)
define( 'WP_DEBUG_DISPLAY', false ); // Set to false to prevent front-end error notices
define( 'SCRIPT_DEBUG', true ); // CSS and JS debugger
Update Site and WordPress URL
Super handy when migrating a site to a new URL. These snippets will supersede the values stored in wp_options.
define('WP_SITEURL', 'https://munchwp.com');
define('WP_HOME', 'https://munchwp.com');
Enble Server Side Cron
define( 'DISABLE_WP_CRON', true );
