LLMS_Staging::clone_detected()
Callback function to automatically disable site features when a clone is detected
Return Return
(void)
Source Source
File: includes/class-llms-staging.php
public static function clone_detected() { if ( is_admin() && current_user_can( 'manage_lifterlms' ) && ! wp_doing_ajax() ) { self::notice(); LLMS_Site::update_feature( 'recurring_payments', false ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.13.0 | Only disable payments for logged in users on the admin panel when not processing ajax requests. |
4.12.0 | Introduced. |