LLMS_Lab_Course_Continue_Button_Module::force_display( int $lesson_id )

Force display.


Parameters Parameters

$lesson_id

(int) (Required) WP_Post ID of the lesson.


Top ↑

Return Return

(int)


Top ↑

Source Source

File: includes/beaver-builder/modules/course-continue-button/class.llms.lab.course.continue.button.module.php

	public function force_display( $lesson_id ) {

		if ( ! $lesson_id && FLBuilderModel::is_builder_active() ) {
			return get_the_ID();
		}

		return $lesson_id;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.