WordPress: How to easily remove the ‘App Shop’ link in The Events Calendar plugin

July 3, 2012

The Events Calendar by Modern Tribe is a great way to create and manage events. Modern Tribe has several sweet add-ons that help with ticket sales, conference management, etc. To make it easier for users of their plugin to get add-ons a convenient ‘App Shop’ link is provided in the WordPress admin, under the Events

PHP: Strip number from string

February 11, 2012

I recently ran across a situation where a string being used as a key contained numeric characters. The requirements specified stated that the new data structure keys do not contain numbers. This is a very simple problem to solve and can be done with a simple PHP str_replace. The following function is what I came

Introducing the Meetup API client for PHP

January 2, 2012

I am working on a pretty major project right now and one of the requirements is the ability to interact with the Meetup API. I looked around and found one existing Meetup client in PHP, however it is horribly architected and as I started using it thinking I could improve it I decided it would

WordPress: Retrieve posts for last N minutes or timespan

November 1, 2011

I am working on a project that requires me to pull the last 15 minutes worth of posts from a custom post type out of the wp_posts table for analysis. I thought this would be easy and quick, however I spend around 20 minutes digging until I finally found a nugget way at the bottom

Introducing paz: a simple packaging and deployment tool for PHP projects on Windows Azure

September 9, 2011

Update (04-30-2012): paz has been combined with other tools into the WAZ-PHP-Utils project on Github. Please see there for further information. These days PHP works well on Windows Azure, and there are some great tools available in the Windows Azure SDK for PHP that will help you build, package and deploy your applications. Even though