Core Function
View Source on Trac ↗ make_site_theme_from_default()
make_site_theme_from_default( mixed $theme_name, mixed $template ) Creates a site theme from the default 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
((void)
| false)
Function Information
Since Version
1.5.0
Source File
wp-admin/includes/upgrade.php
Advertisement