possible to activate a theme through a plugin ?
-
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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘possible to activate a theme through a plugin ?’ is closed to new replies.