Hooks::checkLearndashCourseUpdateMeta( $metaId, $groupId, $metaKey, $metaValue )
sub action when a course is added to ld group
Description
Source
File: bp-integrations/learndash/learndash/Hooks.php
public function checkLearndashCourseUpdateMeta($metaId, $groupId, $metaKey, $metaValue)
{
if ($this->isLearndashCourseMeta($metaKey)) {
$courseId = $this->getLeardashMetaGroupId($metaKey);
return do_action('bp_ld_sync/learndash_group_course_added', $groupId, $courseId);
}
}
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.