WordPress.org

Plugin Directory

WordPress SMS

Send SMS via WordPress, Subscribe SMS newsletter and Send SMS to Number(s), Subscribes and WordPress Users.

  1. Upload wp-sms to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. To display Subscribe goto Themes -> Widgets, and adding Subscribe to SMS into your sidebar Or using this functions: <?php wp_subscribes(); ?> into theme. or using this Shortcode [subscribe] in Posts pages or Widget.
  4. Using this functions for send manual SMS:
  • First: global $sms;
  • $sms->to = array('MobileNumber');
  • $sms->msg = "YourMessage";
  • Send SMS: $sms->SendSMS();

Actions

Run following action when send sms with this plugin.

wp_sms_send

Example: Send mail when send sms.

function send_mail_when_send_sms($message_info) {
    wp_mail('you@mail.com', 'Send SMS', $message_info);
}
add_action('wp_sms_send', 'send_mail_when_send_sms');

Run following action when subscribe a new user.

wp_sms_subscribe

Example: Send sms to user when register a new subscriber.

function send_sms_when_subscribe_new_user($name, $mobile) {
    global $sms;
    $sms->to = array($mobile);
    $sms->msg = "Hi {$name}, Thanks for subscribe.";
    $sms->SendSMS();
}
add_action('wp_sms_subscribe', 'send_sms_when_subscribe_new_user', 10, 2);

Requires: 3.0 or higher
Compatible up to: 4.1.2
Last Updated: 2015-4-19
Active Installs: 2,000+

Ratings

3.9 out of 5 stars

Support

1 of 5 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
0,1,0
100,1,1
100,1,1 100,4,4
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
0,1,0 0,1,0