BpGroupCourses::display( $groupId = null )
Display the tab content based on the selected sub tab
Description
Source
File: bp-integrations/learndash/buddypress/components/BpGroupCourses.php
65 66 67 68 69 70 71 72 73 74 | public function display( $groupId = null) { $this ->loadSubMenuTemplate( $groupId ); $action = bp_action_variable() ?: 'courses' ; if (! $location = bp_locate_template( "groups/single/courses-{$action}.php" , true)) { bp_locate_template( 'groups/single/courses-404.php' , true); } } |
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.