Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Display/Log WordPress errors
define( 'WP_DEBUG', true );
define( 'WP_DISABLE_FATAL_ERROR_HANDLER', true );
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', false );
define( 'WP_DEBUG_LOG', '/wp-content/my-wp-debug.log' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment