$total_ticks
$total_ticks : int
Current number of ticks.
Class ProgressBar
$total_ticks : int
Current number of ticks.
$count : int
Total number of ticks.
$interval : int
Progress bar update interval.
$message : string
Progress bar message.
__construct(string $message, int $count, int $interval = 100) : mixed
ProgressBar constructor.
string | $message | Text to display before the progress bar. |
int | $count | Total number of ticks to be performed. |
int | $interval | Optional. The interval in milliseconds between updates. Default 100. |
When this is not run within WP CLI.