Pull Learndash group leader information via shortcode
Unfortunately, I’m not a coder so I’ve been reading through the wordpress codex and whatever I can find from Learndash and Buddypress. Since learndash and buddypress can sync groups, the group leader becomes group administrator.
I’ve read this: https://buddypress.org/support/topic/showing-group-admin-in-loop/
and have copy/pasted the code, changed the code, but no luck. It’s all Greek to me 🙁
I can get it to spit out the current user’s id via the get_current_user_id() function, but can’t figure out how to get the group id from current user id. And this talk of loops is even more confusing.
- You must be logged in to reply to this topic.