>
Download This Plugin | |
Download Elegant Themes | |
Name | Wordpress TextIt SDK |
Version | 0.1 |
Author | Amber Gregory |
Rating | 0 |
Last updated | 2014-12-23 06:06:00 |
Downloads |
11
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Wordpress TextIt SDK plugin added 5 bytes of resources to the Home page and 7 bytes of resources to the sample Post page.
Wordpress TextIt SDK plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Wordpress TextIt SDK plugin ads no tables to your Wordpress blog database.How it works
TextIt API Full documentation is available: https://textit.in/api/v1
Quick method reference:
textItDo()
To call the TextIt API, use WordpressTextItSDK::textItDo($method, $args, $http)
$method
$args
$http
GET
or POST
, depending on whether you want to list or add / modify dataThe return value will be either an array with a TextIt API response or an exception
E.g. WordpressTextItSDK::textItDo( 'contacts', array(), 'GET' )
would return a list of contacts from your TextIt account
textit_webhook_event
To respond to TextIt webhook events (e.g. Incoming Messages, Outgoing Messages, Incoming Calls, Outgoing Calls, Relayer Alarms) use add_action( 'textit_webhook_event', 'my_custom_function', 2, 1 )
Your custom function should accept a single argument - $event
- an array containing the data TextIt posted via the webhook