llms_get_open_registration_status()
Retrieves and filters the value open registration option
Return Return
(string) The value of the open registration status. Either "yes" for enabled or "no" for disabled.
Source Source
File: includes/llms.functions.core.php
*/
function llms_get_open_registration_status() {
$status = get_option( 'lifterlms_enable_myaccount_registration', 'no' );
/**
* Filter the value of the open registration setting
*
* @since 3.37.10
*
* @param string $status The current value of the open registration option. Either "yes" for enabled or "no" for disabled.
*/
return apply_filters( 'llms_enable_open_registration', $status );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |