This is another solution I came up with for someone who posted on wpQuestions. A rather strange request, but a simple solution. The poster wanted a way to remove the gallery settings div from the media upload thickbox. Sometimes all it takes is a little bit of css hooked into the right spot.
<?php
add_action( 'admin_head_media_upload_gallery_form', 'mfields_remove_gallery_setting_div' );
if( !function_exists( 'mfields_remove_gallery_setting_div' ) ) {
/*
* Remove Gallery Setting Div
* Copyright 2010 Michael Fields
* @license: GPL 2
* @return void
*/
function mfields_remove_gallery_setting_div() {
print <<<EOF
<style type="text/css">
#gallery-settings *{
display:none;
}
</style>
EOF;
}
}
?>


