apply_filters( 'learndash_process_time_percent', int $process_time_percent )
Filters value of process time percentage.
Description #
Parameters #
- $process_time_percent
-
(int) Process time percentage.
Source #
File: includes/admin/class-learndash-admin-data-upgrades.php
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_process_time_percent filter.
*/
add_filter(
'learndash_process_time_percent',
function( $process_time_percent ) {
// May add any custom logic using $process_time_percent.
// Always return $process_time_percent.
return $process_time_percent;
}
);
Changelog #
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |