Warning: This method has been deprecated. Use LLMS_Widget::widget_contents() instead.
LLMS_Widget_Course_Progress::widget_contents( array $args, array $instance )
Widget Content
Description Description
Overrides parent class
See also See also
Parameters Parameters
- $args
-
(array) (Required) Widget arguments.
- $instance
-
(array) (Required) Saved values from database.
Return Return
(void)
Source Source
File: includes/widgets/class.llms.widget.course.progress.php
$instance = parent::update( $new_instance, $old_instance ); $instance['check_enrollment'] = ( ! empty( $new_instance['check_enrollment'] ) ) ? 1 : 0;
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.38.0 | This method has been deprecated. Use LLMS_Widget::widget_contents() instead. |
1.0.0 | Introduced. |