Hooks::checkLearndashCourseDeleteMeta( $metaId, $groupId, $metaKey, $metaValue )
Sub action when a course is deleted from ld group
Description
Source
File: bp-integrations/learndash/learndash/Hooks.php
138 139 140 141 142 143 144 | public function checkLearndashCourseDeleteMeta( $metaId , $groupId , $metaKey , $metaValue ) { if ( $this ->isLearndashCourseMeta( $metaKey )) { $courseId = $this ->getLeardashMetaGroupId( $metaKey ); return do_action( 'bp_ld_sync/learndash_group_course_deleted' , $groupId , $userId ); } } |
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.