<?php
/**
* replace current WP_DEBUG line in wp-config.php
* outputs to debug.log
*/
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
Prevent wordpress from displaying errors and notices to the front-end, and instead have them logged to /wp-content/debug.log
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.