title: How to remove media template from My Account page?
body: <p>Wordpress media file is loaded in every menu on My Account page. I don't want this file to be loaded outside of the &quot;My Orders&quot; menu. However, I couldn't find a solution. The file path is as below, however I am not sure if this file is uploaded automatically or is uploaded by Woocommerce.
  I would appreciate it if you could guide me to solve this problem.</p>
  <p><strong><a href="https://github.com/WordPress/WordPress/blob/master/wp-includes/media-template.php" rel="nofollow noreferrer">/wordpress/wp-includes/media-template.php</a></strong></p>