ReportsGenerator::__construct()

Constructor

Description

Source

File: bp-integrations/learndash/library/ReportsGenerator.php

45
46
47
48
49
50
51
52
53
54
55
56
57
58
public function __construct()
{
    $this->args = apply_filters(
        'bp_ld_sync/reports_generator_args',
        wp_parse_args(bp_ld_sync()->getRequest(), $this->defaults)
    );
 
    if ($_POST) {
        $this->setupParams();
 
        $this->includeCourseTitle();
        $this->includeCourseTimeSpent();
    }
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.