I want add update services when I activate my theme, how to do this ? with an hook like enable_update_services_configuration ?
Thanks in advance
|
I want add update services when I activate my theme, how to do this ? with an hook like enable_update_services_configuration ? Thanks in advance |
|||||||||
|
|
Themes don't currently have activation/deactivation/installation/uninstallation hooks. Your best bet is to "fake" it somehow, perhaps with a function that only executes one time, based on a switch that gets toggled when the function executes. e.g.:
|
|||||
|
|