Last active
December 14, 2015 21:51
-
-
Save glueckpress/4529922 to your computer and use it in GitHub Desktop.
[WordPress] Remove theme modifications (custom background, custom header, custom menus)
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
<?php | |
/* flush all theme modifications; check via get_theme_mods() */ | |
// remove_theme_mods(); | |
/* flush all but menus */ | |
// remove_theme_mod('header_textcolor'); | |
// remove_theme_mod('background_color'); | |
// remove_theme_mod('background_image'); | |
// remove_theme_mod('background_position_x'); | |
// remove_theme_mod('background_attachment'); | |
// remove_theme_mod('background_image_thumb'); | |
// remove_theme_mod('header_image'); | |
// remove_theme_mod('header_image_data'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment