Documentation Libraries (plugins/lib)

Libraries (plugins/lib)

Much as our Shared Plugins directory provides a wide variety of useful, battle hardened, and maintained plugins, Shared Libraries aims to provide a central repository of reusable and maintained code libraries for use by our VIP customers. Shared Libraries reduces the hassle of including, maintaining, and reviewing, and lets you focus on what’s really important: making amazing WordPress websites!

To get started with Shared Libraries, checkout plugins from SVN. All shared libraries live under plugins/lib.

To utilize a shared library in your code, simply include it with:

wpcom_vip_require_lib( 'codebird' );

We have various libraries such as OAuth (via OAuth.php), the Brightcove Media API, and WP_Codebird, a PHP Twitter client based on Codebird, with many more to come!

If you know of a solid, useful library that would be a good fit for Shared Libraries, let us know!