Browse: Home / Hooks /

learndash_mark_complete_timer_html

apply_filters( 'learndash_mark_complete_timer_html',  string $timer_html,  WP_Post $post,  string $timer_id,  string $timer_class,  int $time,  string $time_cookie_key )

Filters the HTML of the timer.


Description #


Parameters #

$timer_html

(string) The HTML of the timer.

$post

(WP_Post) WP_Post object being displayed.

$timer_id

(string) The HTML ID attribute of the timer.

$timer_class

(string) The HTML class attribute of the timer.

$time

(int) The time in seconds.

$time_cookie_key

(string) The cookie key for the timer.


Return #

(string) Returns the HTML of the timer.


Source #

File: includes/course/ld-course-progress.php


Changelog #

Changelog
Version Description
4.24.0 Introduced.