Allows a plugin to register a new admin color scheme. For example: wp_admin_css_color( 'classic', __( 'Classic' ), admin_url( "css/colors-classic.css" ), array(
'#07273E', '#14568A', '#D54E21', '#2683AE'
) );
Parameters
$keystring
The unique key for this theme.
$namestring
The name of the theme.
$urlstring
The URL of the CSS file containing the color scheme.
$colorsarrayoptional
An array of CSS color definition strings which are used to give the user a feel for the theme.Default: array()
$iconsarrayoptional
CSS color definitions used to color any SVG icons.Default: array()
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/general-template.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.