Is it possible to activate a theme through PHP / API ?
Would like my plugin to perform one of the following in order of preference:
- upon plugin activation, check for theme presence, if not present, upload and activate it (from wordpress.org repository)
OR IF NEEDED
- upon plugin activation, copy A piggybacked theme folder from my plugin folder to themes folder, then activate theme.