Filter
Filter whether users can set their own password upon registration or not.
apply_filters( 'tml_allow_user_passwords', bool $user_passwords )
Parameters
-
$user_passwordsbool - Whether users can set their own password upon registration or not.
Source
Fired in tml_allow_user_passwords()
return (bool) apply_filters( 'tml_allow_user_passwords', $user_passwords );
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |