Hide YouTube “Related Videos” in WordPress

You know how a YouTube video suggests other related videos when you finish watching it?  If you want to disable that for videos on your WordPress site, add this code to your functions.php file:

https://gist.github.com/macbookandrew/2646426895d88d1e7e06affd627bd178

1 thought on “Hide YouTube “Related Videos” in WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.