LLMS_Admin_Tool_Batch_Eraser::get_description()

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

(string)


Top ↑

Source Source

File: includes/admin/tools/class-llms-admin-tool-batch-eraser.php

	protected function get_description() {

		$count = $this->get_pending_batches();

		$desc  = __( 'Deletes pending batches generated by LifterLMS background processors.', 'lifterlms' );
		$desc .= ' ';
		// Translators: %d = the number of pending batches.
		$desc .= sprintf(
			_n(
				'There is currently %d pending batch that will be deleted.',
				'There are currently %d pending batches that will be deleted.',
				$count,
				'lifterlms'
			),
			$count
		);

		return $desc;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.37.19 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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