dozent_get_total_video_time( int $course_ID )


Parameters

$course_ID

(int) (Required)


Return

(mixed|void) Get total Video Length in seconds for Course


Source

File: includes/core-functions.php

1924
1925
1926
1927
1928
1929
1930
function dozent_get_total_video_time( $course_ID = 0 ) {
    $course_ID = dozent_get_post_id( $course_ID );
 
    $total_video_time = (int) get_post_meta( $course_ID, '_total_video_time', true );
 
    return apply_filters( 'dozent_get_total_video_time', $total_video_time, $course_ID );
}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.