0

I'm using the following code branch to execute some theme setup options...

$myTheme_initialized = get_option('myTheme_initialized');
if (is_admin() && !$myTheme_initialized && isset($_GET['activated'] ) ) {
//do setup stuff
}

What hook can I tap into when the theme is deactivated?

1 Answer 1

1

http://www.krishnakantsharma.com/2011/01/activationdeactivation-hook-for-wordpress-theme/#

Pretty good writeup for activation and deactivation

Same thing is here on SE Theme Activate Hook

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.