llms_are_terms_and_conditions_required()

Determine if Terms & Conditions agreement is required during registration according to global settings


Return Return

(boolean)


Top ↑

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 );

}


Top ↑

Changelog Changelog

Changelog
Version Description
3.3.1 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.