The generate_disable_site_library filter allows you to fully disable the Site Library.
The above filter has been deprecated. Use this constant instead:
define( 'GENERATE_DISABLE_SITE_LIBRARY', true );
generate_disable_site_library
generate_disable_site_library