Documentation
Learn how to use WSMS Pro with comprehensive guides and API reference.
New to WP SMS?
Get up and running in just a few minutes.
Introduction
2 articlesConfiguration
6 articlesGateway Configuration
Learn how to configure your SMS gateway provider with WSMS.
Configuring the Admin Mobile Number
Learn how to set up the admin mobile number to receive important site notifications via SMS.
Custom Gateway Setup
Configure a custom SMS gateway for providers not natively supported.
2FA & Login Settings
Configure two-factor authentication and SMS-based login for enhanced security.
Advanced Settings
Configure advanced options including reports, URL shortening, webhooks, and reCAPTCHA.
Message Button Settings
Configure a customizable chat button for visitor communication.
Features
1 articleIntegrations
4 articlesWooCommerce Tracking Code Notifications
Automatically send SMS when shipping gateways add tracking codes to WooCommerce orders.
Ultimate Member Auto-Subscribe
Automatically subscribe Ultimate Member users to SMS newsletter upon registration.
WooCommerce Gutenberg Checkout
Integrate SMS validation and notifications with WooCommerce's block-based checkout.
NumCheckr Integration
Validate phone numbers using NumCheckr API with WSMS.
Troubleshooting
1 articleLicensing
1 articleHooks
4 articleswp_sms_add_subscriber
Action hook triggered when a new user subscribes to SMS notifications.
wp_sms_otp_generated
Action hook triggered when an OTP is generated, useful for sending notifications.
wp_sms_number_unsubscribed_through_url
Action hook triggered when a subscriber unsubscribes via URL, useful for custom redirects.
wp_sms_send (Action)
Action hook triggered after an SMS message is sent successfully.
Functions
4 articleswp_sms_send()
Send SMS messages programmatically using the wp_sms_send() function.
wp_sms_get_option()
Retrieve plugin options programmatically using the wp_sms_get_option() function.
wp_sms_subscriber_form()
Display a subscriber form to collect SMS newsletter signups.
wp_sms_render_quick_reply()
Enable quick reply functionality for SMS responses in WordPress.
Filters
15 articleswp_sms_registration_username
Customize the username format for mobile number registrations.
OTP Rate Limiter
Customize OTP request limits to control SMS frequency and prevent abuse.
wp_sms_sms_otp_length
Customize the length of OTP codes generated by WSMS.
wp_sms_mobile_number_validity
Customize mobile number validation logic with custom rules.
wp_sms_single_dispatch_arguments
Modify SMS parameters before dispatching messages to individual recipients.
wp_sms_api_message_content
Modify SMS message content before transmission through the REST API.
API
7 articlesSend SMS Endpoint
REST API endpoint to send SMS messages through WSMS plugin.
Get SMS Credit Endpoint
REST API endpoint to retrieve the remaining SMS credit balance.
Newsletter Subscribe Endpoint
REST API endpoint to subscribe users to your SMS newsletter.
Newsletter Verify Endpoint
REST API endpoint to verify subscriber phone numbers via activation code.
Newsletter Unsubscribe Endpoint
REST API endpoint to unsubscribe users from your SMS newsletter.
Register Webhook Endpoint
REST API endpoint to register and subscribe to webhooks in WSMS.