Hi,
Need to automate a process by which the role of some users enrolled in specific courses can be changed for a specific amount of time?
For example, for 15 days, user named A who is a student in a course will have Admin role in that specific course / courses and then after 15 days, will be reverted back to being a student.
This needs to be done to an entire list of students automatically through some code. How do i go about writing this code? Or is there a plugin already that allows me to do this?
Can anyone please suggest where do i start from or how do i go about this? Any links will also be appreciated.