Created
October 4, 2012 15:08
-
-
Save mattonomics/3834218 to your computer and use it in GitHub Desktop.
Reset all the things
This file contains hidden or 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 | |
// drop this in your custom.php file. run it ONCE or it will continue to reset everything. | |
// for now, this only works for Thesis Classic | |
include_once(dirname(__FILE__) . '/seed.php'); | |
$options = array( | |
'boxes', 'templates', 'packages', 'snippets', 'vars', 'css', 'custom_css' | |
); | |
foreach ($options as $option) { | |
var_dump(function_exists("thesis_generate_skin_option_$option")); | |
if (function_exists("thesis_generate_skin_option_$option")) | |
call_user_func("thesis_generate_skin_option_$option"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment