Skip to content

Instantly share code, notes, and snippets.

@gregrickaby
Last active September 26, 2022 04:15
Show Gist options
  • Save gregrickaby/39d2d598c68ca6338114 to your computer and use it in GitHub Desktop.
Save gregrickaby/39d2d598c68ca6338114 to your computer and use it in GitHub Desktop.
WP DEBUG
<?php // do not include leading php tag
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define('WP_DEBUG', true);
if (WP_DEBUG) {
define('SCRIPT_DEBUG', true);
define('JETPACK_DEV_DEBUG', true);
define('WP_DEBUG_LOG', false);
define('WP_DEBUG_DISPLAY', false);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment