ReportsGenerator::maybeAddActivityGroupBy( $strSql, $queryArgs )
Replace placeholder where with gorup by statement
Description
Source
File: bp-integrations/learndash/library/ReportsGenerator.php
300 301 302 303 | public function maybeAddActivityGroupBy( $strSql , $queryArgs ) { return str_replace ( 'AND 2=2' , 'GROUP BY activity_id' , $strSql ); } |
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.