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


Top ↑

Parameters Parameters

$args

(array) (Required) Widget arguments.

$instance

(array) (Required) Saved values from database.


Top ↑

Return Return

(void)


Top ↑

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;

Top ↑

Changelog Changelog

Changelog
Version Description
3.38.0 This method has been deprecated. Use LLMS_Widget::widget_contents() instead.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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