Complete the code to enable debugging in WordPress by setting WP_DEBUG to true.
define('WP_DEBUG', [1]);
Setting WP_DEBUG to true turns on debugging mode in WordPress.
Complete the code to log errors to a file by enabling WP_DEBUG_LOG.
define('WP_DEBUG_LOG', [1]);
Setting WP_DEBUG_LOG to true saves errors to wp-content/debug.log.
Fix the error in the code to hide errors from displaying on the site by setting WP_DEBUG_DISPLAY correctly.
define('WP_DEBUG_DISPLAY', [1]);
Setting WP_DEBUG_DISPLAY to false hides errors from showing on the website.
Fill both blanks to enable debugging and log errors but hide them from displaying on the site.
define('WP_DEBUG', [1]); define('WP_DEBUG_DISPLAY', [2]);
Enable debugging with true and hide errors from display with false.
Fill all three blanks to enable debugging, log errors to a file, and hide errors from displaying on the site.
define('WP_DEBUG', [1]); define('WP_DEBUG_LOG', [2]); define('WP_DEBUG_DISPLAY', [3]);
Set WP_DEBUG and WP_DEBUG_LOG to true to enable debugging and logging. Set WP_DEBUG_DISPLAY to false to hide errors on the site.