The SMS Alert WordPress plugin connects with LearnPress to send SMS to students and admins. Messages can go out on course enrollment, course completion, order status changes and new instructors. It can also verify a student’s mobile number by OTP at registration.
New to the plugin? Start with the WordPress SMS plugin setup guide.
What can you do with LearnPress and SMS Alert?
I want to… | Section |
|---|---|
Tell students about enrollment, completion or order status | Student notifications |
Alert my team about the same events | Admin notifications |
Collect a mobile number for order updates | Mobile number at checkout |
Verify the number when a student registers | Signup OTP |
Before you start
- Install and activate LearnPress and SMS Alert, then connect your SMS Alert account.
- Keep SMS credits in your account. Every SMS uses credits.
- On India routes, message text must match an approved DLT template.
Which LearnPress events send SMS?
Event | Student | Admin |
|---|---|---|
Order status: pending, processing, completed, cancelled, failed | Yes | Yes |
Student enrolls in a course | Yes | Yes |
Student finishes a course | Yes | Yes |
Student notifications
- In the WordPress dashboard, open SMS Alert and select the LearnPress tab.
- Open Customer Notifications.
- Enable each event you want to send.
- Edit the message text and click a variable to insert it.
- Click Save Changes.
Order status SMS go to the billing phone saved on the order. Enrollment, completion and instructor SMS go to the billing phone saved on the user’s profile.

Admin notifications
- In SMS Alert General Settings, enter the number in Send Admin SMS To. You can add multiple numbers.
- Open the LearnPress tab, then Admin Notifications.
- Enable the events and edit each message.
- Click Save Changes.

Message variables
Message type | Variables |
|---|---|
Order status | [username], [order_id], [order_status], [order_total], [order_currency], [payment_method_title], [checkout_email] |
Enrollment and completion | [username], [course_name] |
New instructor | [username] |
The default templates also use [store_name]. [username] is the student’s login name.
Example enrollment message:
Congratulations [username], you have enrolled in [course_name] with [store_name].Mobile number at checkout
SMS Alert adds a Billing Phone field to the LearnPress payment form. The number is saved with the order and used for order status SMS.
Signup OTP for LearnPress registration
- In SMS Alert, enable OTP verification on signup.
- The LearnPress registration form now shows a required Phone field.
- The student enters the number and requests the OTP.
- Registration continues after the OTP is verified.
Related: OTP verification on signup · Signup With Mobile · SMS Alert shortcodes
Troubleshooting
Problem | What to check |
|---|---|
LearnPress tab is missing | LearnPress and SMS Alert are both active. |
Student gets no order SMS | The status is enabled and the order has a billing phone. |
No enrollment or completion SMS | The event is enabled and the user’s profile has a billing phone. |
No admin SMS | Send Admin SMS To is filled and the admin event is enabled. |
Phone field or OTP missing at signup | Signup OTP is enabled and your account is connected. |
SMS rejected on India routes | Text differs from the approved template. See Template Mismatch Error. |
Frequently asked questions
Can LearnPress send SMS notifications?
Yes, with the SMS Alert plugin. It sends SMS to students and admins for enrollment, course completion, order status and instructor events.
Can I send an SMS when a student enrolls in a course?
Yes. Enable the enrollment event under Customer Notifications and use [username] and [course_name] in the message.
Which order statuses are supported?
Pending, processing, completed, cancelled and failed.
Can students verify their mobile number during registration?
Yes. With signup OTP enabled, the LearnPress registration form asks for a phone number and verifies it.
Why does a student receive order SMS but no enrollment SMS?
Order SMS use the order’s billing phone. Enrollment SMS use the billing phone on the user profile.
Can more than one admin get alerts?
Yes. Add multiple numbers in Send Admin SMS To.
Do I need DLT registration?
On India routes, yes. The message must match an approved template.
