wpmu_activate_stylesheet() WordPress Function
The wpmu_activate_stylesheet() function is used to activate a WordPress Multisite theme. This function takes the name of the theme as an argument and returns true if the theme is successfully activated.
wpmu_activate_stylesheet() #
Loads styles specific to this page.
Source
File: wp-activate.php
function wpmu_activate_stylesheet() {
?>
<style type="text/css">
form { margin-top: 2em; }
#submit, #key { width: 90%; font-size: 24px; }
#language { margin-top: .5em; }
.error { background: #f66; }
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; }
</style>
<?php
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |