Function
Get the password chosen during the activation currently being handled.
Only set by tml_ms_activation_handler(), after the submitted password has been validated, and cleared again once the activation is done.
tml_ms_get_activation_password( )
Return
string
The chosen password, or an empty string if there isn't one.
Source
function tml_ms_get_activation_password() {
if ( ! tml_allow_user_passwords() ) {
return '';
}
return (string) tml_get_data( 'activation_password', '' );
}
Uses
Used by
Changelog
| Version | Description |
|---|---|
| 7.2.2 | Introduced. |