LLMS_Widgets::register_widgets()
Registers all lifterlms_widgets
Return Return
(void)
Source Source
File: includes/widgets/class.llms.widgets.php
public function register_widgets() {
$widgets = apply_filters(
'lifterlms_widgets',
array(
'LLMS_Widget_Course_Progress',
'LLMS_Widget_Course_Syllabus',
)
);
if ( class_exists( 'bbPress' ) && 'yes' === get_option( 'llms_integration_bbpress_enabled', 'no' ) ) {
$widgets[] = 'LLMS_BBP_Widget_Course_Forums_List';
}
foreach ( $widgets as $widget ) {
register_widget( $widget );
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.0.0 | Removed loading of class files that don't instantiate their class in favor of autoloading. |
| 3.12.0 | Unknown. |
| 1.0.0 | Introduced. |