LLMS_Admin_Tool_Course_Data_Lock_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-course-data-lock-eraser.php

	protected function get_description() {

		$count = $this->get_locked_courses();

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

		return $desc;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
9.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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