Contents
bp_ld_sync( $component = null )
Return specified BuddyBoss LearnDash sync component.
Description
Source
File: bp-integrations/learndash/bp-learndash-functions.php
function bp_ld_sync($component = null) { global $bp_ld_sync; return $component ? $bp_ld_sync->$component : $bp_ld_sync; }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Related
Used By | Description |
---|---|
bp-members/classes/class-bp-rest-members-details-endpoint.php: BP_REST_Members_Details_Endpoint::bp_rest_default_menu() |
Get default dropdown navigation. |
bp-groups/classes/class-bp-rest-group-settings-endpoint.php: BP_REST_Group_Settings_Endpoint::update_courses_fields() |
Update Group Courses settings. |
bp-groups/classes/class-bp-rest-group-settings-endpoint.php: BP_REST_Group_Settings_Endpoint::register_routes() |
Register the component routes. |
bp-groups/classes/class-bp-rest-group-settings-endpoint.php: BP_REST_Group_Settings_Endpoint::get_courses_fields() |
Get Group course Settings. |
bp-integrations/learndash/classes/class-bp-rest-learndash-courses-endpoint.php: BP_REST_Learndash_Courses_Endpoint::get_items() |
Retrieve courses. |
bp-integrations/learndash/core/Core.php: Core::bp_ld_custom_continue_url_arr() |
Get all the URLs of current course ( lesson, topic, quiz ) |
bp-integrations/learndash/core/Core.php: Core::bp_course_resume() | |
bp-integrations/learndash/core/Admin.php: Admin::printDependencyAdminNotice() |
Output the dependency notice html |
bp-integrations/learndash/core/Admin.php: Admin::printRequirementAdminNotice() |
Output the requirement notice html |
bp-integrations/learndash/library/ReportsGenerator.php: ReportsGenerator::setupParams() |
Setup ld activity query params |
bp-integrations/learndash/library/ReportsGenerator.php: ReportsGenerator::__construct() |
Constructor |
bp-integrations/learndash/library/SyncGenerator.php: SyncGenerator::getLdSyncToRole() |
Get the ld role to sync to |
bp-integrations/learndash/library/SyncGenerator.php: SyncGenerator::createBuddypressGroup() |
Create bp group based on current ld group |
bp-integrations/learndash/library/SyncGenerator.php: SyncGenerator::getBpSyncToRole() |
Get the bp role to sync to |
bp-integrations/learndash/buddypress/generators/EssaysReportsGenerator.php: EssaysReportsGenerator::getGroupEssays() |
Load all the essays from the courses belong to the group |
bp-integrations/learndash/buddypress/generators/AssignmentsReportsGenerator.php: AssignmentsReportsGenerator::getGroupAssignments() |
Load all the assignments from the courses belong to the group |
bp-integrations/learndash/buddypress/components/BpGroupCourses.php: BpGroupCourses::loadSubMenuTemplate() |
Display the tab sub menu before the tab content |
bp-integrations/learndash/buddypress/components/BpGroupCourses.php: BpGroupCourses::showTabOnView() |
Determine who can see the tab |
bp-integrations/learndash/buddypress/components/BpGroupCourses.php: BpGroupCourses::showTabOnCreate() |
Should tha tab be shown on the group create screen |
bp-integrations/learndash/buddypress/components/BpGroupCourses.php: BpGroupCourses::settings_screen() |
Displays the settings for all views |
bp-integrations/learndash/buddypress/components/BpGroupCourses.php: BpGroupCourses::settings_screen_save() |
Saving the settings for all views |
bp-integrations/learndash/buddypress/components/BpGroupReports.php: BpGroupReports::loadSubMenuTemplate() |
Display the tab sub menu before the tab content |
bp-integrations/learndash/buddypress/components/BpGroupReports.php: BpGroupReports::showTabOnView() |
Determine who can see the tab |
bp-integrations/learndash/buddypress/Courses.php: Courses::getGroupCourses() |
Returns the courses belongs to the group |
bp-integrations/learndash/buddypress/Core.php: Core::registerGroupComponent() |
Register BP group extension components based on settings |
bp-integrations/learndash/buddypress/Sync.php: Sync::enabled() |
Returns if buddypress sync is enabled or not |
bp-integrations/learndash/buddypress/Sync.php: Sync::onGroupCreate() |
Run the sync when new group is created |
bp-integrations/learndash/buddypress/Sync.php: Sync::onGroupDeleted() |
Desync when group is deleted |
bp-integrations/learndash/buddypress/Sync.php: Sync::groupUserEditCheck() |
Check if the user type need to be synced |
bp-integrations/learndash/buddypress/Admin.php: Admin::init() |
Add actions once integration is ready |
bp-integrations/learndash/buddypress/Admin.php: Admin::saveGroupSyncMetaBox() |
Save group sync metabox value when bp group is saved from admin |
bp-integrations/learndash/buddypress/Admin.php: Admin::asyncMetaboxHtml() |
Output group sync metabox html |
bp-integrations/learndash/buddypress/Ajax.php: Ajax::ajaxGetExports() |
Get export data from report generator |
bp-integrations/learndash/buddypress/Ajax.php: Ajax::ajaxDownloadReport() |
Output the export content to header buffer |
bp-integrations/learndash/buddypress/Ajax.php: Ajax::validateRequest() |
Validate the ajax request |
bp-integrations/learndash/buddypress/Ajax.php: Ajax::setRequestGroups() |
Setup the current bp and ld groups on ajax request |
bp-integrations/learndash/buddypress/Ajax.php: Ajax::getGenerator() |
Get the generator class based on the request |
bp-integrations/learndash/buddypress/Helpers.php: Helpers::getLearndashGroupId() |
Get the connected ld group id |
bp-integrations/learndash/buddypress/Ajax.php: Ajax::ajaxGetReports() |
Get reports |
bp-integrations/learndash/buddypress/Ajax.php: Ajax::unsetCompletionOnExport() |
Unset the completed status when exporting |
bp-integrations/learndash/buddypress/Reports.php: Reports::getCurrentGenerator() |
Get the class name for the current generator based on request value |
bp-integrations/learndash/buddypress/Reports.php: Reports::removePointsColumnIfNotAssigned() |
Remove the points column if all courses doesn’t have points |
bp-integrations/learndash/buddypress/Reports.php: Reports::getGroupUsersList() |
Get group’s member list for filter |
bp-integrations/learndash/buddypress/Reports.php: Reports::getGroupCoursesList() |
Get group’s course list for filter |
bp-integrations/learndash/buddypress/Reports.php: Reports::showReportUserStats() |
Output report user stats html |
bp-integrations/learndash/buddypress/Reports.php: Reports::showReportCourseStats() |
Output report course stats html |
bp-integrations/learndash/buddypress/Reports.php: Reports::registerReportsScript() |
Add scripts when it’s on the reports page |
bp-integrations/learndash/learndash/Sync.php: Sync::groupUserEditCheck() |
Check if the user type need to be synced |
bp-integrations/learndash/learndash/Sync.php: Sync::preCheck() |
Standard pre check bore all sync happens |
bp-integrations/learndash/learndash/Admin.php: Admin::asyncMetaboxHtml() |
Output group sync metabox html |
bp-integrations/learndash/learndash/Sync.php: Sync::onGroupUpdated() |
Run the sync when new group is created / updated |
bp-integrations/learndash/learndash/Sync.php: Sync::onGroupDeleted() |
Desync when group is deleted |
bp-integrations/learndash/learndash/Admin.php: Admin::init() |
Add actions once integration is ready |
bp-integrations/learndash/bp-admin-learndash-tab.php: BP_LearnDash_Admin_Integration_Tab::get_input_name() |
Overwrite the input name |
bp-integrations/learndash/bp-admin-learndash-tab.php: BP_LearnDash_Admin_Integration_Tab::get_input_value() |
Overwrite the input value |
bp-integrations/learndash/bp-admin-learndash-tab.php: BP_LearnDash_Admin_Integration_Tab::settings_save() |
Save learndash settings with setting helper class |
bp-integrations/learndash/bp-learndash-functions.php: bp_learndash_get_group_courses() |
Return array of LearnDash group courses. |
bp-templates/bp-nouveau/includes/groups/classes.php: BP_Nouveau_Customizer_Group_Nav::setup_nav() |
Setup a temporary nav with only the needed parameters. |
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.