Browse: Home / Classes / Learndash_Course_Video /

Learndash_Course_Video::add_video_to_content

Learndash_Course_Video::add_video_to_content( string $content,  Object $post,  array $settings = array() )

Hook into the LearnDash template logic to insert the Video Progression output


Description #


Parameters #

$content

(string) (Required) HTML content to be output to browser.

$post

(Object) (Required) WP_Post instance for Lesson or Topic.

$settings

(array) (Optional) Current setting values for Post.

Default value: array()


Return #

(string) Content with Video Progression HTML.


Source #

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


Changelog #

Changelog
Version Description
2.4.3 Introduced.