0

I'm trying through your API to get the associated social buddy boss group of a learn dash group. To be more clear, this is what I'd like to get:

https://www.evernote.com/shard/s230/client/snv?fbclid=IwAR2kPw36gUCU5pYTS-QTbQBXBxcZ5m86DaUNP_VPxl0ylF8qMWGM8LtoOMw&isnewsnv=true&noteGuid=a36d2160-a64e-48ce-9d10-7fc85cbff3f6&noteKey=cbd9fb0303a6e1d7&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs230%2Fsh%2Fa36d2160-a64e-48ce-9d10-7fc85cbff3f6%2Fcbd9fb0303a6e1d7&title=Edit%2BGroup%2B%25E2%2580%259CImprovisation%2BMade%2BEasy%2BMasterclass%2BGroup%253B%2BThe%2B3-Step%2BSystem%2BTo%2BQuickly%2BMaster%2BThe%2BHoly%2BGrail%2BOf%2BCre%25E2%2580%259D%2B%25E2%2580%25B9%2BDonna%2BSchwartz%2BMusic%2BAcademy%2B%25E2%2580%2594%2BWordPress

I need a basic functions where I can pass the learndash group and get back the social buddyboss group.

I'm already at this point:

<?php
$current_course = learndash_get_course_id();
$group_id = learndash_get_course_groups($current_course);
?>

What I'd like to achieve is to add a simple link to the social group as you can see from this screenshot:

https://www.evernote.com/shard/s230/client/snv?fbclid=IwAR3jIzrRIQsM26EGbhE-Eg0gMCWPiv3ls7YUEkjYNVtmrohzLP4lnfEibRc&isnewsnv=true&noteGuid=90d5b100-a615-4068-865c-3f350d8660c9&noteKey=64b5021654bab6cd&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs230%2Fsh%2F90d5b100-a615-4068-865c-3f350d8660c9%2F64b5021654bab6cd&title=M1L1%2B-%2BWelcome%2B%2526%2BYour%2BSuccess%2BStrategy%2B-%2BDonna%2BSchwartz%2BMusic%2BAcademy

Please let me know if I was clear enough.

Thanks in advance, Have a wonderful day.

0 Answers0