Ajax::getGenerator()
Get the generator class based on the request
Description
Source
File: bp-integrations/learndash/buddypress/Ajax.php
protected function getGenerator()
{
$generators = bp_ld_sync('buddypress')->reports->getGenerators();
$type = bp_ld_sync()->getRequest('step');
return (new $generators[$type]['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.