WordPress Hook Order Of Execution

In order to build anything for WordPress, you know that action and filter hooks are the way to go. But hooks are still a bit of a mystery because we don’t really have any concept of the order in which they are executed. Until now: Hook Front Page Admin Page muplugins_loaded X X registered_taxonomy X […]

FireBug – Built In Timer Tool

FireBug comes with a built in timer tool that allows you to start and stop a clock to get information about how long a process runs. Internally, we use this timer to expose PHP execution page times within the base FireBug Panel itself. We’ve exposed this timer so that you may grab its functionality and […]

FireBug – Adding Your Own Debug Panels

In this tutorial, we will cover how to add your own debug panels to FireBug. This feature of FireBug is what really make it a useful tool for what you are developing! Since I recently integrated FireBug into a WordPress Plugin, we will be using this use case for our tutorial today. One goal we […]

FireBug – Getting Started

FireBug is a tool that helps developers develop and maintain their PHP applications by providing a dedicated debug panel that can be rendered anywhere within your application. Out of the box, it provides a way to debug your application by providing a debugger() function along with a dedicated debugger panel. Installing FireBug FireBug can be […]

FireTest – Example Unit Testing Individual Classes Without A Framework

I recently got a request on how you might Unit Test an individual class that doesn’t belong to a framework. So, here’s an example class we will be unit testing using FireTest. Let’s start out by creating a new project from scratch: Now, update composer.json to include the test runner file script. Now let’s create […]