I’m working on a plugin that changes the password requirements to be a bit stricter, however wherever there is a password field to create a password, WordPress’ hints are now no longer accurate (e.g. Password must consists of seven characters).
How can I replace those hints? Is there a filter/function that can help with this?
You can filter
'gettext'
.Sample code, not tested: