wordpress wp debug code example
Example 1: Example wp-config.php for Debugging
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
define( 'SCRIPT_DEBUG', true );
Example 2: debug wordpress
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
Example 3: wp debug
define( 'WP_DEBUG', true );
Example 4: how to enable wp_debug
define( 'WP_DEBUG', true );