strangerstudios / paid-memberships-pro

WordPress membership plugin to restrict access to content and charge recurring subscriptions using Stripe, PayPal, and more. Fully open source. 100% GPL.
https://www.paidmembershipspro.com
Other
460 stars 357 forks source link

Enhancement: Filters and Actions on Password/Profile Change Page #1514

Open ronalfy opened 3 years ago

ronalfy commented 3 years ago

Description

At the moment, the password screen is straight output. It would be nice to leverage hooks/filters in the shortcode to allow more customization.

Describe the solution you'd like

A filter and/or action in the profile edit password shortcode is required to customize the language on the profile change password screen. Also a hook to customize the verbiage and add new verbiage under the strength meter would be preferred.

Describe alternatives you've considered At this point, there are no alternatives.

Additional context Goal is to better integrate with Strong Passwords. Will need a filter to customize the text, the i18n, and an action preferred before and after the password has been changed for extra checks.

ronalfy commented 3 years ago

Ref: ticket https://www.paidmembershipspro.com/forums/topic/strong-passwords-not-enforce-at-change/

dparker1005 commented 3 years ago

For reference, here is where the form is generated: https://github.com/strangerstudios/paid-memberships-pro/blob/dfbce960f59ba418e0ee5d2dc4b966001f3a6bcc/includes/login.php#L630-L694