Retrieve a description of the tool

Description Description

This is displayed on the right side of the tool’s list before the button.

Top ↑

Return Return


Top ↑

Source Source

File: includes/admin/tools/class-llms-admin-tool-recurring-payment-rescheduler.php

	protected function get_description() {

		$orders = $this->get_orders();
		$count  = wp_cache_get( sprintf( '%s-total-results', $this->id ), 'llms_tool_data' );

		$desc  = __( 'Check active recurring orders to ensure their recurring payment action is properly scheduled for the next payment. If a recurring payment is due and not scheduled it will be rescheduled.', 'lifterlms' );
		$desc .= ' ';
		// Translators: %d = the number of pending batches.
		$desc .= sprintf(
				'There is %d order that will be checked.',
				'There are %d orders that will be checked in batches of 50.',

		return $desc;


Top ↑

Changelog Changelog

Version Description
4.7.0 Modified language and use count from FOUND_ROWS().
4.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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