LLMS_Admin_Tool_Limited_Billing_Order_Locator::should_load()
Conditionally load the tool.
Description Description
This tool should only load if there are orders that can be handled by the tool.
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-limited-billing-order-locator.php
protected function should_load() {
return count( $this->get_csv() ) > 0;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |