Skip to content

Instantly share code, notes, and snippets.

@hostz-frank
Created May 11, 2018 17:10
Show Gist options
  • Save hostz-frank/7a77e2a0962b888c685429269e67e94d to your computer and use it in GitHub Desktop.
Save hostz-frank/7a77e2a0962b888c685429269e67e94d to your computer and use it in GitHub Desktop.
Enable debugging in WP into file wp-content/debug.log
<?php
// paste directly above: "/* That's all, stop editing! Happy blogging. */"
define('WP_DEBUG', true );
if ( WP_DEBUG ) {
define( 'SAVEQUERIES', true );
define( 'SCRIPT_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment