Reports::getCurrentGenerator()
Get the class name for the current generator based on request value
Description
Source
File: bp-integrations/learndash/buddypress/Reports.php
protected function getCurrentGenerator() { $step = bp_ld_sync()->getRequest('step', 'all'); $generator = $this->getGenerators()[$step]; return new $generator['class']; }
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.