[lcw_reset_password]
🔑 Shortcode: [lcw_reset_password]
Description
The [lcw_reset_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.
[lcw_reset_password button_text="Update Password" success_message="Password updated!"]
Advanced usage: You can also set or remove tags and redirect users after the password is updated:
[lcw_reset_password 
    button_text="Change Password" 
    success_message="Password changed!" 
    redirect_to="/thank-you" 
    set_tags="new-password" 
    remove_tags="old-user"
]
⚙️ 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.
 
