Remove Gallery Settings

This is a simple solution to to remove the gallery settings div from the media upload thick box. Simply paste this in your functions.php.

Code Snippet:

<?php
add_action( 'admin_head_media_upload_gallery_form', 'mfields_remove_gallery_setting_div' );
if( !function_exists( 'mfields_remove_gallery_setting_div' ) ) {
    function mfields_remove_gallery_setting_div() {
        print '
            &lt;style type="text/css">
                #gallery-settings *{
                display:none;
                }
            &lt;/style>';
    }
}
?>

Posted in Admin area