Closed. This question is not about programming or software development. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered. Closed 1 hour ago. Improve this question I have a question regarding Sensei and Woocommerce plugin. I want user to buy course for another users. Let's say a tutor buy course for 3 students. I don't want tutor himself get enrolled to that same course after checkout. I created custom fields where he any fill details of each student individually and after purchase they all get notification on email about the same but at the same time he himself also get enrolled to that course which I don't want. If he want to buy the course for himself and his students – he just add his email too. That’s it. How can I achieve disabling automatic enrolling of course buyer to the course?