Twenty Eleven – remove “Theme options” tab

This code snippet remove tabs – “Theme Options”; “Header” and “Custom Background” from the twenty eleven theme

//Remove the custom options provided by the default twentyeleven theme.
add_action( ‘after_setup_theme’,’remove_twentyeleven_options’, 100 );
function remove_twentyeleven_options() {

	remove_custom_background();
	remove_custom_image_header();
	remove_action(‘admin_menu’, ‘twentyeleven_theme_options_add_page’);

}