Skip to content

Instantly share code, notes, and snippets.

@woodwardtw
Created October 13, 2022 12:48
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 woodwardtw/a7377130d7bcf86b88d66042a64d0d7e to your computer and use it in GitHub Desktop.
Save woodwardtw/a7377130d7bcf86b88d66042a64d0d7e to your computer and use it in GitHub Desktop.
wp config shush and show
/**
* these are two alternative settings for wp-config.php don't use both!
**/
/**
* super shush any errors or warnings
**/
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);
/**
* show me everything and write everything
**/
define('WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment