How to disable edit post option?


I have a WordPress LMS site, and the Tutor Instructor role can create posts as courses and these posts are custom post types called courses, and I want to disallow the Tutor Instructor to edit their courses after they publish them.

I saw this How to disable edit post option after period of time?

It doesn’t work. I changed the role to Tutor Instructor and made it 1 hour but still not working, maybe because the post type is not in the code.

KDot 5 months 2022-05-11T20:36:16-05:00 0 Answers 0 views 0

Leave an answer