__( 'Published courses', 'learnpress' ), 'pending-review' => __( 'Pending review', 'learnpress' ), 'future' => __( 'Future courses', 'learnpress' ), 'enrollments' => __( 'Enrollments', 'learnpress' ), 'avg-completion' => __( 'Avg. completion', 'learnpress' ), 'courses-without-enrollment' => __( 'Courses without enrollment', 'learnpress' ), ); $health_checks = array( 'no_curriculum' => array( 'label' => __( 'Published courses with an empty curriculum', 'learnpress' ), 'url' => admin_url( 'edit.php?post_type=lp_course&post_status=publish' ), ), 'no_students' => array( 'label' => __( 'Published courses without any enrollment', 'learnpress' ), 'url' => admin_url( 'edit.php?post_type=lp_course&post_status=publish' ), ), 'low_completion' => array( 'label' => __( 'Courses below the completion target', 'learnpress' ), 'url' => admin_url( 'admin.php?page=learn-press-statistics&tab=courses' ), ), 'low_quiz_pass' => array( 'label' => __( 'Quizzes with a low pass rate', 'learnpress' ), 'url' => admin_url( 'edit.php?post_type=lp_quiz' ), ), 'pending_review' => array( 'label' => __( 'Courses waiting for review', 'learnpress' ), 'url' => admin_url( 'edit.php?post_type=lp_course&post_status=pending' ), ), ); // Section config filters — add/remove/relabel cards and lists. @since 4.4.2 $kpi_cards = (array) apply_filters( 'learn-press/statistics/courses/kpi-cards', $kpi_cards ); $health_checks = (array) apply_filters( 'learn-press/statistics/courses/health-checks', $health_checks ); ?>
$title ) : ?>
$key, 'title' => $title, ) ); ?>