Fires after the theme is switched.
Description
See ‘after_switch_theme’.
Parameters
Source
do_action( 'switch_theme', $new_name, $new_theme, $old_theme );
Fires after the theme is switched.
See ‘after_switch_theme’.
do_action( 'switch_theme', $new_name, $new_theme, $old_theme );
You must log in before being able to contribute a note or feedback.
This hook is useful while deactivating a theme.
For example:
Delete a theme’s options after deactivation