Keeping tabs on WordPress actions

If you’ve ever needed to see if an action has been fired and/or how many times it has been fired, there’s a handy function that will return the amount of times an action has been fired.

This function can come in handy when building things that could be extended by other developers that may want to filter out something.

I noticed it use in the WP-Shortcake plugin (

The plugin introduces a Shortcode Interface on post edit pages, but only if a specific shortcode ui has been registered.

To register a UI for a plugin, an array of settings must be passed to the “register_shortcode_ui” action, but if that’s not done, the Shortcake UI is never loaded, all because of the “did_action” check.

This is a handy way to make code extendable, but avoid unnecessary bloat.

WordPress Moving Forward

One of the biggest complaints about WordPress’ commitment to backward compatibility is that it’s hard to move forward when supporting old versions of PHP.

Recently (I became aware today) the requirements for WordPress have been updated to be php 5.6+ instead of 5.2.4+, which means some deprecated code can be dropped and new ways of doing things can be implemented much easier.

This is great news for anyone not running a version of PHP < 5.6, but ideally that should be most people running WordPress.

Helpful Command Line Aliases for OS X

I started a new job this week and with that comes setting up a new computer.

To help make things easy on myself, I like to set up some Aliases in my .bash_profile so I can get things done in the command line a bit quicker.

If you’re looking for shortcuts for the command line, here’s some helpful ones I’m using.


Got any other cool Aliases that you use? Let me know.

Automatic Featured Images from Post Title

As I’ve been starting to post to my blog more often, I’ve struggled with how the design of my site should be. . .I want it to be visually appealing, but I don’t have the time or desire to work on images for all my posts. . .this could be an interesting solution to add more visual appeal with little work.

I’ve yet to check it out, but I’m saving the link here to check out sometime soon.

EasySearch 2.0

When I was first tinkering with Meteor, I played around with EasySearch and it seemed to be a great package that was easy to use. I didn’t have much need for it, but the more I work with Meteor, the more I feel like I will be needing a good solution for search, so I plan to check out EasySearch 2.0 and see how it might work with some projects I’m working on. It’s looking sweet.