Getting Started With WP SMS Twilio Core


Are you looking for a way to send SMS messages from your WordPress site? If yes, then Twilio SMS Wordpress Plugin is the perfect solution for you.

SMS marketing has become a powerful tool for businesses to reach their customers. In fact, according to research, sending text messages to potential clients increases conversions by over 50%.

With Twilio Wordpress SMS plugin, you can easily create and manage SMS campaigns from within your WordPress dashboard. This means you don’t need to leave your site to send out texts. You can also use it to send bulk sms to multiple recipients at once.

With this plugin, you can:

Send SMS messages from within your WordPress dashboard

• Create and manage SMS campaigns

• Set up auto-responders

• Add custom message content

• Use different phone numbers for each campaign

Features of Twilio Wordpress

• Easy setup

• No coding required

• Works with all major web hosting providers

• Supports unlimited number of campaigns

• Can be used on any website or blog

• Uses premium API key which makes sure that no spam will be sent

How does it work?

The Twilio WordPress SMS plugin uses an easy to set up an interface to allow users to create and manage SMS campaigns. Once installed, it allows you to add new contacts, edit existing contacts, view reports and even generate invoices.

If you are interested in learning more about how this plugin works, check out our tutorial below.


WP Twilio core is a simple plugin to add SMS capability to your website using the Twilio API.

If you’ve ever wanted to add text messaging functionality to your website or app, Twilio is one of the best solutions on the market. They’re reasonably priced and have an excellent API.

How does it work?

The plugin primarily allows a WordPress developer to extend its settings and functionality and integrate it into any type of site. For example, it can easily be extended to send a text message on virtually any WordPress action.

The plugin also includes functionality to directly send a text message to any permissible number from the plugin settings page. You can use it to SMS any of your users or just for testing purposes

Here’s a list of what the plugin provides out of the box:

  • Custom function to easily send SMS messages to any number (including international ones)
  • Functionality to directly send a text message to any permissible number from the plugin settings page
  • Hooks to add additional tabs on the plugin settings page to allow managing all SMS related settings from the same page
  • Basic logging capability to keep track of up to 100 entries
  • Mobile Phone User Field added to each profile (optional)
  • Shorten URLs using Google URL Shortener API (optional)

twl_send_sms( $args )

Sends a standard text message from your Twilio Number when arguments are passed in an array format. Description of each array key is given below.

Array Key Type Description
number_to string The mobile number will be texted. Must be formatted as country code + 10-digit number (i.e. +13362522164).
message string The message that will be sent to the recipient.
number_from (optional) string Override the Twilio Number from settings. Must be associated with Account SID and Auth Token
account_sid (optional) string Override the Twilio Account SID from settings. Must be associated with Twilio number and Auth Token.
auth_token (optional) string Override the Auth Token from settings. Must be associated with Twilio number and Account SID.
logging (optional) integer (1 or 0) Override the logging option set from the settings page. Requires the digit ‘1′ to enable.
url_shorten (optional) integer (1 or 0) Override the url shortening option set from the settings page. Requires the digit ‘1′ to enable.

Returns an array with response from Twilio’s servers on success of a WP_Error object on failure.

$args = array( 
    'number_to' => '+13362522164',
    'message' => 'Hello Programmer!',
twl_send_sms( $args );

Extending the Settings page

It is very easy to add your own tab to the plugin settings page. Please see the example below:

// Registering a new tab name
function add_new_settings_tab( $tabs ) {
    $tabs['my_shop'] = 'My Shop';
    return $tabs;
add_filter( 'twl_settings_tabs', 'add_new_settings_tab' );

// Adding form to that new tab
function add_my_shop_tab_content( $tab, $page_url ) {
    if( $tab != 'my_shop' ) {
    // Add my settings form here!
add_action( 'twl_display_tab', 'add_my_shop_tab_content', 10, 2 );


Feel free to send pull requests on the GitHub repository. They are always welcome!

Get WPSMS Pro Bundle

You'll get all the Pro Features, Free Support and Updates.

Premium License

  • 1 Site License
  • Lifetime Support & Updates
  • 15-Day Money Back Guarantee

Ready to Integrate SMS Into Your Website?

Enhance engagement and boost customer satisfaction with seamless SMS integration. Start now for better communication and results.

get started now