LLMS_Admin_Tool_Reset_Automatic_Payments::should_load()
Conditionally load the tool
Description Description
This tool should only load if the recurring payments site feature constant and the site clone status constant are both NOT set.
Return Return
(boolean) Return true
to load the tool and false
to not load it.
Source Source
File: includes/admin/tools/class-llms-admin-tool-reset-automatic-payments.php
protected function should_load() { return ! defined( 'LLMS_SITE_FEATURE_RECURRING_PAYMENTS' ) && ! defined( 'LLMS_SITE_IS_CLONE' ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.13.0 | Introduced. |