Core Function
View Source on Trac ↗ wp_admin_css_color()
wp_admin_css_color(
mixed $key,
mixed $name,
mixed $url,
mixed $colors = array(),
mixed $icons = array()
) Registers an admin color scheme css file.
Parameters 5 required
| Name / Type | Description |
|---|---|
| $key string | The unique key for this theme. Required |
| $name string | The name of the theme. Required |
| $url string | The URL of the CSS file containing the color scheme. Required |
| array | $colors Optional. An array of CSS color definition strings which are used to give the user a feel for the theme. Required |
| array | $icons { Optional. CSS color definitions used to color any SVG icons. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
2.5.0
Source File
wp-includes/general-template.php
Advertisement