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.
Return Return
(string)
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;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.37.19 | Introduced. |