wp_admin_css_color


wp_admin_css_color ( $key, $name, $url, $colors = array(), $icons = array() )

Parameters:
  • (string) key The unique key for this theme.
  • (string) name The name of the theme.
  • (string) url The URL of the CSS file containing the color scheme.
  • (array) colors Optional. An array of CSS color definition strings which are used to give the user a feel for the theme.
  • (array) icons { Optional. CSS color definitions used to color any SVG icons. @type string $base SVG icon base color. @type string $focus SVG icon color on focus. @type string $current SVG icon color of current admin menu link. }
Defined at:

Description

Registers an admin color scheme css file.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' ) );

Related Functions

wp_admin_css_uri, wp_admin_css, wp_admin_canonical_url, wp_admin_notice, wp_custom_css_cb

Top Google Results

User discussions

wpseek mobile