Reports::getGenerators()
Get available report generators
Description
Source
File: bp-integrations/learndash/buddypress/Reports.php
396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 | public function getGenerators() { return apply_filters( 'bp_ld_sync/reports_generators' , [ 'all' => [ 'name' => __( 'All Steps' , 'buddyboss' ), 'class' => '\Buddyboss\LearndashIntegration\Buddypress\Generators\AllReportsGenerator' ], learndash_get_post_type_slug( 'course' ) => [ 'name' => __( 'Courses' , 'buddyboss' ), 'class' => 'Buddyboss\LearndashIntegration\Buddypress\Generators\CoursesReportsGenerator' ], learndash_get_post_type_slug( 'lesson' ) => [ 'name' => __( 'Lessons' , 'buddyboss' ), 'class' => 'Buddyboss\LearndashIntegration\Buddypress\Generators\LessonsReportsGenerator' ], learndash_get_post_type_slug( 'topic' ) => [ 'name' => __( 'Topics' , 'buddyboss' ), 'class' => 'Buddyboss\LearndashIntegration\Buddypress\Generators\TopicsReportsGenerator' ], learndash_get_post_type_slug( 'quiz' ) => [ 'name' => __( 'Quizzes' , 'buddyboss' ), 'class' => 'Buddyboss\LearndashIntegration\Buddypress\Generators\QuizzesReportsGenerator' ], learndash_get_post_type_slug( 'essays' ) => [ 'name' => __( 'Essays' , 'buddyboss' ), 'class' => 'Buddyboss\LearndashIntegration\Buddypress\Generators\EssaysReportsGenerator' ], learndash_get_post_type_slug( 'assignment' ) => [ 'name' => __( 'Assignments' , 'buddyboss' ), 'class' => 'Buddyboss\LearndashIntegration\Buddypress\Generators\AssignmentsReportsGenerator' ], ]); } |
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.