is there a function that allows to do something whenever a theme is installed?

for example, I want to generate a content whenever a theme is installed.

Comments

VM’s picture

No.