Upgrade Procedure for WordPress Plugin Developers

Since the introduction of WordPress 3.1, plugins no longer fire the activation hook when being updated. Not only that, but those of us who choose to update plugins via SVN (or other methods) never trigger a hook. So, as developers how can we perform upgrade procedures to our plugins, if we don’t have a specific hook to utilise? The answer – we need to manually check when our plugins have been updated and handle any upgrade procedures accordingly.

WordPress Outbound Link Tracking using Google Analytics

When running a WordPress site (or any site for that matter) we often want to track clicks on outbound links and at the same time, mask those ugly affiliate URLs. Take a look at the links at the bottom of this site and you will see that they follow the format: http://ashleyrich.com/out/company. Now there are plenty of WordPress plugins that can achieve this, but why use a plugin when there are alternative, faster solutions?