WP Manifestindependent plugin directory
manifest / integrations / disciple-tools-channels-twilio

Disciple Tools - Channels - Twilio WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

disciple-tools-channels-twilio

★ 2stars
203release downloads
≈30active sites
1.4.0latest · 1 year ago

Install

Download disciple-tools-channels-twilio.zip From the 1.4.0 release on GitHub, Jun 24, 2025

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/discipletools/disciple-tools-channels-twilio/releases/download/1.4.0/disciple-tools-channels-twilio.zip
Updates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.

Send SMS and WhatsApp messages or Disciple.Tools notifications using Twilio.

Pre-requisites

A Twilio Account setup with a phone number and messaging service set up.

To use WhatsApp you'll need a Whatsapp Sender linked to one of your twilio phone numbers.

See setup instructions in the wiki.

Will Do

  • Let other plugins (link magic link scheduler) send messages using Twilio.
  • Optionally: Setup D.T notifications to be sent over SMS or WhatsApp.
  • Provides an API to send messages directly.

API Usage

The Disciple Tools - Channels - Twilio plugin can be decoupled, so as to work independently of the Disciple Tools - Magic Links plugin; in order to send messages directly.

//check if twilio is setup and configured
dt_twilio_configured()

Send as sms to a number. Returns a boolean value indicating if the message was sent successfully.

Disciple_Tools_Twilio_API::send_sms( $phone_number, $message );

Send as WhatsApp message to a number. Note: This will only work if the contact has WhatsApp messaged you in the last 24 hours. Returns a boolean value indicating if the message was sent successfully.

Disciple_Tools_Twilio_API::send_whatsapp( $phone_number, $message );

Send a message to a D.T User

$bool_result = dt_twilio_direct_send( 12, 'wp_user', $msg, [ 'service' => 'sms' ] );

Send a message to a D.T Contact

$bool_result = dt_twilio_direct_send( 343, 'post', $msg, [ 'service' => 'sms' ] );
  • id: Assigned WP user id or post id, depending on type value.
  • type: System type; which must be one of the following:
    • wp_user
    • post
  • msg: Actual message to be sent; which must adhere to the pre-defined Twilio message template shape. For example:
    Hi, Please update records -> {{link}} -> Link will expire on {{time}}
    • {{...}} placeholders to be substituted with actual values.
  • args: Ability to specify option overrides during sending. Currently, the following overrides are supported:
    • service: Specify which of the following twilio service types are to be adopted:
      • sms
      • whatsapp

Webhooks

Set twilio to call this webhook

POST https://your-site.com/wp-json/dt-public/twilio/v1/webhook

A dt_twilio_message_received action will be triggered when a message is received by Twilio.

/**
 * $type: 'sms' or 'whatsapp'
 * $params: array of the message
 * $params['Body']: the message
 * $params['From']: the phone number
 * See all params here: https://www.twilio.com/docs/messaging/guides/webhook-request
 */
add_action( 'dt_twilio_message_received', function ( $type, $params ){
    //do stuff here
}, 10, 2 );

Contribution

Contributions welcome. You can report issues and bugs in the Issues section of the repo. You can present ideas in the Discussions section of the repo. And code contributions are welcome using the Pull Request system for git. For a more details on contribution see the contribution guidelines.

Releases

9 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
1.4.0 latest
Jun 24, 2025 1 year ago
disciple-tools-channels-twilio.zip
42
Jan 21, 2025 1 year ago
disciple-tools-channels-twilio.zip
24
Sep 19, 2024 2 years ago
disciple-tools-channels-twilio.zip
35
Apr 26, 2024 2 years ago
disciple-tools-channels-twilio.zip
27
Apr 22, 2024 2 years ago
disciple-tools-channels-twilio.zip
11
Sep 21, 2022 4 years ago
disciple-tools-channels-twilio.zip
36
1.2
Mar 3, 2022 4 years ago
disciple-tools-channels-twilio.zip
10
1.1
Nov 9, 2021 4 years ago
disciple-tools-channels-twilio.zip
14
Oct 15, 2021 5 years ago
disciple-tools-channels-twilio.zip
4

Active-site estimate ≈30 comes from the median of recent superseded releases. Method.

A grade

Security

Disciple Tools - Channels - Twilio 1.4.0 · audited by WP Registry

No security issues found.

Audited release
1.4.0
Findings
none
Worst severity
—
Content hash
a936371c97f1a1646aee655e…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.