We are affiliating temporarily with a third party for a course. Until we make that as ours, we want to redirect the user to another link when they click on start course or enrol of a specific course. Courses > enrolled courses > Implant Program( when they click on start it needs to redirect to another website). How to achieve this functionality?
Checked the code this redirection is not supported for this.
Start course button is showing from React js which does not support WordPress action hooks for the redirect.
Where I can find the code for react js?
Well currently this is possible on single course page , we can return url we want but in Pwa this is hardcoded in js files , we have to add provision for that in upcoming updates first .