General developer forum

Get user's assigned categories

 
Picture of Ionuț Vîlsan
Re: Get user's assigned categories
 

Can I get the categories of the courses that a user is enrolled in ? For example a user is enrolled in the English course and the English course is in the Languages category. How can I get the categories for the enrolled course ?

The code above is used for a drop-down menu in the custom menu items navbar .

In the navbar I want to have the categories not the courses assigned to student.

Thank you

 
Average of ratings: -