Similarly, I've also made an activity restriction plugin that pairs hides the activity if it's excluded in the gradebook. Please upvote https://tracker.moodle.org/browse/MDL-68777 if you're interested in this.
Assignment
Exempt a student from a certain assignment
This discussion has been locked so you can no longer reply to it.