LLMS_Admin_Tool_Recurring_Payment_Rescheduler::should_load()

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-recurring-payment-rescheduler.php

	protected function should_load() {
		return count( $this->get_orders() ) > 0;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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