includes/admin/class.llms.admin.dashboard-widget.php
Method output
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function output() {
?>
<div class="llms-dashboard-widget-wrap">
<h3><?php esc_html_e( 'Activity this week:', 'lifterlms' ); ?></h3>
<a class="llms-button-primary" href="<?php echo esc_url( admin_url( 'post-new.php?post_type=course' ) ); ?>">
Method get_dashboard_widget_data
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function get_dashboard_widget_data() {
return apply_filters(
/**
* Filters the dashboard widget data.
*