[lcw_reset_password]
🔑 Shortcode: You must be logged in to reset your password.
You must be logged in to reset your password.
Description
The You must be logged in to reset your password. shortcode displays a secure frontend password reset form for logged-in WordPress users.
It comes with optional features like custom success messages, redirecting users after a successful update, and even setting or removing CRM tags (premium feature).
🧩 Usage
Simple usage: Just update the password and customize the button text or success message.
You must be logged in to reset your password.
Advanced usage: You can also set or remove tags and redirect users after the password is updated:
You must be logged in to reset your password.
⚙️ Attributes
| Attribute | Type | Description | Default |
|---|---|---|---|
button_text |
string | Text displayed on the password submit button. | “Update Password” |
success_message |
string | Message shown after a successful password update. | “Password updated successfully!” |
redirect_to |
string | Optional relative URL to redirect users after success. Example: /thank-you |
— |
set_tags |
string | Comma-separated list of tags to add to the user (premium feature). | — |
remove_tags |
string | Comma-separated list of tags to remove from the user (premium feature). | — |
✨ Features & Behavior
- 🔹 Only for logged-in users: Shows a warning if accessed while logged out.
- 🔹 Prevents admin/editor resets for security reasons.
- 🔹 Premium CRM features: Add or remove tags on the associated contact.
