Created
November 17, 2012 23:08
-
-
Save ataylorme/4101200 to your computer and use it in GitHub Desktop.
Remove twentyeleven theme options from child theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment