llms_are_terms_and_conditions_required()
Determine if Terms & Conditions agreement is required during registration according to global settings
Return Return
(boolean)
Source Source
File: includes/functions/llms.functions.privacy.php
function llms_are_terms_and_conditions_required() { $enabled = get_option( 'lifterlms_registration_require_agree_to_terms' ); $page_id = absint( get_option( 'lifterlms_terms_page_id', false ) ); return ( 'yes' === $enabled && $page_id ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.3.1 | Unknown. |
3.0.0 | Introduced. |