uninstall a theme programmaticlly
I'm working on a plugin that create, install, switch between child themes.
But I have a problem that my plugin creates just 2 or 3 child themes ( Is there any limit in creating child themes?).
So I'm looking for a way to delete a child theme programmatically by codes before throwing my function that create the other theme.
Thank you.
Topic child-theme functions uninstallation Wordpress
Category Web