Sending a server-side (WordPress/PHP) development environment variable to your scripts

This is written for PHP and/or WordPress, but the principle applies to any server-side language. First we’ll we’ll create a php function for determining our environment: This function will return 1 for production, 2 for your staging environment,… Read More

Sublime Text WordPress Debugging Snippets

Debugging, if not THE top, is close to the top of a web developer’s activities. That being the case I think every developer should have a personalized and custom set of debugging tools at their disposal to make… Read More