Sometimes you know there is an update for your plugin but WordPress doesn’t know about it yet. You can force WordPress to check for plugin updates by deleting the content out of the _site_transient_update_plugins row in the wp_options table. After running the query below on your WordPress database, login into your WordPress admin panel, navigate […]
How To Remove Empty Array Elements In PHP

Quick PHP tip: It is common to want to explode a string based on some delimiting character, then iterate over the array. Most of the time you don’t care about the empty items in the array. Suppose, for example, you have a dynamically constructed string of id numbers from a database or something and you […]
What’s The Best PHP Framework?

There is an enormous number of PHP frameworks available so I thought I share my experiences working with some of the most popular frameworks for PHP development. I have personally used all of the frameworks I describe either for my own projects or for actual client work. Here are my notes on how I evaluated […]
Sync Local And Remote Databases For Web Development

I develop WordPress sites, themes, and plugins all the time and have been working on improving my workflow. I have configured our server using git (gitosis) for easy deployment of WordPress (and related files) which I’ll write about in a later post. This post is to share a little script I use for copying my […]