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:


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.