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
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | 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. |