Core Function
View Source on Trac ↗ make_site_theme_from_oldschool()
make_site_theme_from_oldschool( mixed $theme_name, mixed $template ) Creates a site theme from an existing theme.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $theme_name string | The name of the theme. Required |
| $template string | The directory name of the theme. Required |
Return Value
(bool)
bool
Function Information
Since Version
1.5.0
Source File
wp-admin/includes/upgrade.php
Advertisement