Function
Determine if users should be logged in after registration or not.
tml_allow_auto_login( )
Return
bool
Whether users should be logged in after registration or not.
Source
function tml_allow_auto_login() {
$auto_login = get_site_option( 'tml_auto_login' );
/**
* Filter whether users should be logged in after registration or not.
*
* @since 7.0
*
* @param bool $auto_login Whether users should be logged in after registration or not.
*/
return (bool) apply_filters( 'tml_allow_auto_login', $auto_login );
}
Uses
Used by
Changelog
| Version | Description |
|---|---|
| 7.0 | Introduced. |