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:
WP_DEBUG
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 🙂

Published by skyboot

Leave a Reply

Your email address will not be published. Required fields are marked *