Runs when the blog's theme is changed. Action function argument: name of the new theme. If used in a theme, it only works if the theme that adds action is the one being enabled. Can be used to run certain code when enabling a theme.
This database has information for all major versions from WP 1.2.1 through 3.5.
|3.3||wp-includes/theme.php||2007||View hook in source||action|
|3.4||wp-includes/theme.php||1566||View hook in source||action|
|3.4||wp-includes/theme.php||1568||View hook in source||action|
|3.5||wp-includes/theme.php||1613||View hook in source||action|
|3.5||wp-includes/theme.php||1615||View hook in source||action|
We find related hooks using word stems. after_switch_theme has 3 significant word stem(s):
theme. Note that some of the hooks below may not appear in all versions of WP.