I am coding some modifications.
1) How do I make my modifications update safe?
2) I need to get all available courses, do you store them as post_id? what about the units?
3) Once I get all the course id, I need all units except the first one to be disabled(how do I disable units using code?).
4) After the user completed the 1st unit, my wp-cron job will check if it has been 7 days after completion. I need unit completion hook to manage this.
5) I also need to save and print a PDF of the users inputs in each module. Any way to do this?
Are the user inputs, already saved in the database? How do I call them?
I think now you get the gist of what I am trying to make. I may pivot to a better idea if you have one.