Hi, We have a reuquirement as given below:
1- When a student purchase a course, We will have a tab in his dashboard called "My Session Today"
2- If user clicks on this tab, it will show his Classes/tabs that are scheduled today, It will show like:
Course Name Time To State Action
Action column will have a link to third party website that hosts Whiteboard rooms, We will have a page where we will show the whiteboar stuff.
a) We want to know where we can code for the above functionality(which template),
b) How can we add a new tab under Student's dashboard?
c) Is there any shortcode/funtion or somthing that can loop through all the course that is purchased by the student, so that we can add a button with it.
Please reply so that we can add this section.
Thanks
@eclassopedia
To show the tab, you need to check the file wplms-appointments/includes/class.profile.php
and on this hook you can add a new tab: bp_setup_nav
For showing the classes of the course, this api call will work for you: /appointments/courses
file : includes/class.api.php
function : get_appointments_courses