Skip to content

Instantly share code, notes, and snippets.

View peterchester's full-sized avatar

Peter Chester peterchester

View GitHub Profile
@peterchester
peterchester / tribe-common-libraries.class.php
Created March 20, 2012 11:47
WordPress library management
<?php
/**
* Class for managing overlapping helper plugins. This ensures that we use the latest versions of common code.
*
* Usage: include this file on any plugin that may have shared code BEFORE the 'plugins_loaded' action is completed.
* After including this file, register the helper files using the TribeCommonLibraries::register() instead of including the files directly.
*
* @author Peter Chester
* @version 1.0
*/