how to enter wordpress in debug mode code example
Example 1: wp debug
define( 'WP_DEBUG', true );
Example 2: how to debug in wordpress
// This enables debugging.
define( 'WP_DEBUG', true );
define( 'WP_DEBUG', true );
// This enables debugging.
define( 'WP_DEBUG', true );