Conditionally load the tool.

Description Description

This tool should only load if there are orders that can be handled by the tool.

Top ↑

Return Return

(boolean) Return true to load the tool and false to not load it.

Top ↑

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;

Top ↑

Changelog Changelog

Version Description
5.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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