Skip to content

Instantly share code, notes, and snippets.

@JRMorris77
Created December 21, 2016 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JRMorris77/291cd9ea111e5f2cb65d78c807c628d5 to your computer and use it in GitHub Desktop.
Save JRMorris77/291cd9ea111e5f2cb65d78c807c628d5 to your computer and use it in GitHub Desktop.
// Reduce Snapshot Table Query Chunks
define('SNAPSHOT_TABLESET_CHUNK_SIZE', 100);
// Reduce Snapshot File Chunks
define('SNAPSHOT_FILESET_CHUNK_SIZE', 10);
// DEV Plugins w/o DEV Dashboard
define( 'WPMUDEV_APIKEY', 'YOUR-API-KEY');
//Enable conditional debug mode in wordpress:
define( 'WP_DEBUG', isset( $_REQUEST['wp-debug'] ) && $_REQUEST['wp-debug'] == 1 );
//Now to see error, add ?wp-debug=1 with your url
// Increase WP Memory Limit
define('WP_MEMORY_LIMIT', '256M');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment