Debugging WordPress theme
Many plugin and theme authors don’t take full advantage of some really helpful debugging tools in WordPress. Here’s a quick run-down of a cool tools for debugging:
define( ‘WP_DEBUG’, true );
Define it in wp-config.php and you’ll start seeing PHP error notices and also WordPress-generated debug messages, particularly deprecated function usage.
Happy Coding 🙂