New answers tagged


This is not exactly the answer to the asked question. However, this will be helpful for many who are looking to perform certain action after activation or deactivation of themes. // Perform action when your theme is deactivated (actually switched to another) add_action( 'switch_theme', 'action_switch_theme', 10, 1 ); function action_switch_theme( ) { ...

Top 50 recent answers are included