When I invoke the media uploader from a certain page, I'm looking for a way to hide all of the 'Gallery Settings' options at the bottom of the Gallery tab. I have set a referrer (dd-options-footer
), so I can check that to ensure the code is only added for my desired page, but it seems that whatever I add does not work.
I've tried adding both custom CSS and JS to do this, but it appears that WP overrides this in wp-admin/js/gallery-min.js
when it outputs the content of the tab.
Anyone know how I can do this? Thanks.