Skip to content
Snippets Groups Projects
user avatar
Mohammad Jangda authored
fixing composer dependency of codebird-php as wp-codebird only supports ...
9110c7fc
History

WordPress Codebird

Description

An extension of the Codebird class to use WordPress' HTTP API instead of cURL.

Provides a drop in replacement for Codebird with improved WordPress integration by replacing all cURL calls with WordPress HTTP API calls.

Usage

Include both the Codebird library and class-wp-codebird.php, then get a new instance of WP_Codebird:

$wp_codebird = WP_Codebird::getInstance();

The rest of the api is identical to Codebird - it is a drop in replacement that does not require any modification to existing code.

Changes

1.1.0 (04/09/2013)

  • Updated to support Codebird 2.3.2 and Bearer authentication