SendSMS Subscribers & 2FA
Manage SMS subscribers, run campaigns, and protect wp-admin with SMS 2FA — all through the sendsms.ro gateway.
Install in
SendSMS Subscribers & 2FA connects your WordPress site to the sendsms.ro SMS gateway and gives you two independent capabilities: a full subscriber management and SMS marketing system, and an SMS-based two-factor authentication layer on the wp-admin login form.
Subscriber management and campaigns:
- Subscribe and unsubscribe widgets you can drop into any widgetised area on the frontend.
- Optional phone-verification step on subscribe/unsubscribe (sends a one-time code; IP rate-limiting prevents abuse).
- Subscriber admin page with a searchable list table — add, edit, delete, or sync contacts to your sendsms.ro address book with one click.
- Mass-send SMS to all subscribers, or to WordPress users filtered by role.
- Complete SMS history log of every message the plugin sends.
- “Send a test SMS” page for verifying your sender label and message content against any phone number.
SMS two-factor authentication:
- Enable 2FA per user role — only the roles you pick require a second factor.
- On first login, users who don’t yet have a phone number stored are prompted to enrol.
- A one-time code is sent to the user’s phone; the wp-admin session is not opened until the code is validated.
- Codes are time-limited and bound to a signed cookie so they cannot be replayed.
Compatibility: PHP 7.4 through 8.3, WordPress 6.0 through 7.1. Verified on PHP 7.4 and PHP 8.3 against WordPress 7.1.
This plugin requires a sendsms.ro account. Sign-up is free; SMS pricing is per message and depends on the destination country.
External services
This plugin connects to the sendsms.ro SMS gateway — a third-party service operated by SC sendSMS Solutions SRL — to deliver text messages and manage your contact list. Using the plugin requires an active sendsms.ro account.
What the service is used for:
- Sending the subscribe/unsubscribe confirmation and one-time verification-code SMS to the phone numbers visitors enter in the frontend forms.
- Sending the two-factor-authentication code SMS to wp-admin users when SMS 2FA is enabled for their role.
- Sending the test SMS triggered from the SendSMS Dashboard Send a test SMS page.
- Sending bulk SMS triggered from the SendSMS Dashboard SMS sending page (to all subscribers, or to WordPress users filtered by role).
- Reading your account balance to display it on the Settings page.
- Creating and updating contacts (and the contact group) in your sendsms.ro address book when you sync a subscriber from the Subscribers page.
What data is sent, and when:
- On every outbound SMS: your sendsms.ro username and API key/password, the configured sender label, the recipient phone number (a visitor/subscriber number, an admin-supplied number for tests, or a user’s stored number for 2FA), and the message body. Bulk sends POST the recipient list and message together as a batch.
- On a contact sync: your username, API key/password, and the subscriber’s phone number, first name, and last name.
- On a balance check: your username and API key/password.
- No data is sent until you have entered credentials and either a visitor submits a form, a protected user logs in, or you press a send/sync button — or you open the Settings page, which checks the balance once per page load and caches it for 5 minutes.
Service endpoint used: https://api.sendsms.ro/json (HTTPS).
Third-party terms of service and privacy:
- Terms and conditions: https://www.sendsms.ro/en/terms-and-conditions/
- GDPR / privacy: https://www.sendsms.ro/en/gdpr/
- ISO 27001 certification: https://www.sendsms.ro/en/iso-27001-certified/
Written by Joobi from the project's own listing. See the source page
2.0.6
- The subscribe, unsubscribe, and verification forms now tell the visitor what actually went wrong. Every failure previously showed the same “Something went wrong. Please try again.” message, whether the phone number was malformed, the privacy-policy box was unticked, the number was already subscribed, or the verification code had expired.
2.0.5
- The block editor strings now use the
sendsms-subscribers-2fatext domain — they still carried the pre-2.0.2sendsms-dashboarddomain — and the edit scripts are registered withwp_set_script_translations(), so those strings can actually be translated.
2.0.4
Verified against WordPress 7.1 on PHP 7.4 and 8.3.
- The subscribe and unsubscribe blocks now declare the plugin stylesheet as their block style, so the form is styled inside the editor canvas as well as on the front end. Previously the CSS was only enqueued for the front end, and the editor preview rendered as unstyled browser defaults.
- No other changes: the plugin registers no image handling and does not use jQuery UI, so the WordPress 7.1 media and jQuery UI updates do not affect it.
2.0.3
Documentation corrections for WordPress.org. The supported-versions statement in the description now reads WordPress 6.0 through 7.0 consistently with the header and FAQ, the installation step references the correct sendsms-subscribers-2fa folder, and the example URL in the shortcode documentation was replaced with a valid one. No functional or data changes.
2.0.2
Renamed the plugin to SendSMS Subscribers & 2FA (text domain sendsms-subscribers-2fa) so it can be published in the WordPress.org directory. No functional or data changes — your settings, subscribers, SMS history, shortcodes, blocks, widgets, and CSS classes are all unchanged.
2.0.1
Naming/compliance pass for WordPress.org. All internal identifiers now carry a distinct, collision-safe rosendsms_dash_ prefix so the plugin coexists cleanly with other plugins (including SendSMS for WooCommerce). Your settings, SMS history, and subscriber list are migrated automatically on update.
- Prefixed every plugin-defined name: constants (
ROSENDSMS_DASH_*), the PSR-4 namespace (Rosendsms\Dashboard\…), option/transient keys, custom table names, AJAX actions, script handles, the localized JS objects, and nonces. - Added a one-shot, idempotent migration that renames the pre-2.0.1
sendsms_dashboard_*options and custom tables to the newrosendsms_dash_*names on activation/upgrade — no data loss. - Front-end shortcodes (
[sendsms_subscribe],[sendsms_unsubscribe]), block names, widget IDs, and the documented CSS class names are unchanged, so existing pages, widgets, and custom styling keep working. - Added an External services section to the readme disclosing the sendsms.ro gateway, the data sent, and links to its terms / privacy / ISO 27001 certification.
- Replaced the admin-menu dashicon with the sendSMS brand icon.
2.0.0
Full architectural rewrite. The plugin now follows modern WordPress conventions while preserving every existing setting, the SMS history database table, and the subscriber list — upgrading from 1.x is transparent.
- Code reorganised into a PSR-4 namespace tree (
SendSMS\Dashboard\…) with one class per responsibility (API client, settings reader, subscribe / unsubscribe / 2FA flows, admin pages, AJAX handlers). - 2FA rebuilt on the
authenticatefilter — no fake login + session destruction, no fork ofwp-login.php. Cleaner, fewer surprises with other plugins. - Settings page redesigned with three tabs: General, User, Subscription. Each tab merges into the existing option instead of overwriting it (fixes a v1.x bug where saving one tab wiped the others).
- Admin scripts moved to
assets/js/. jBox dropped; native WordPress admin patterns used instead. - Mass-send campaigns now build the CSV in memory (no
batches/filesystem write, matching the security baseline of the WooCommerce sibling plugin). - Minimum PHP raised to 7.4; verified on PHP 7.4 and PHP 8.3 against WordPress 7.0.
1.0.3
- WordPress 7.0 compatibility.
- PHP 8.3 compatibility: removed deprecated FILTER_SANITIZE_STRING usage in the 2FA login handlers.
- Synced version numbers across the plugin header, version constant, and stable tag.
1.0.0
- Initial release.
Follow this listing's changes (Atom feed)