I want to add & reset default value for my theme options while activate and deactivate a theme
More clearly something like this
if(theme active)
add_option();
// add new option to the theme and register default setting for one time only
if(theme deactivate)
delete_option();
// reset current option and delete default setting for one time only
Question
How know is theme active or not? What a function or hook for this one. Let me know