Enable a theme in PHP
-
For a multisite i need to automically activate a package specific theme for automatically created subsites. this would be the command in WP-CLI
https://developer.www.ads-software.com/cli/commands/theme/enable/How do i do this in php? if there’s no function for this, can it be done directly in the DB?
Next step would be to activate the theme, this i will do directly in database changing options “template” and “stylesheet”
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Enable a theme in PHP’ is closed to new replies.