Step 1: Go to My Courses.
Step 2: Click on "Edit Settings"
Step 3: Check "Customize what quiz takers see at the end of quiz" under "General Settings".
Step 4: Check or Uncheck "Social Media & Sharing Links" shown above and you are done!
Related Articles:
How do I remove my course from showing up in Google?
How do I set chapter availability dates for my course?
How to send course invites to learners in bulk