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.
Return Return
(int)
Source Source
public function force_display( $lesson_id ) {
if ( ! $lesson_id && FLBuilderModel::is_builder_active() ) {
return get_the_ID();
}
return $lesson_id;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.7.0 | Introduced. |