Docs: Add description for `register_admin_color_schemes()`.

Props terriann, danieltj.
Fixes #42779.

git-svn-id: https://develop.svn.wordpress.org/trunk@42765 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2018-02-28 03:27:46 +00:00
parent 3f7b3865f4
commit 617a87f114
1 changed files with 8 additions and 3 deletions

View File

@ -3918,9 +3918,9 @@ function paginate_links( $args = '' ) {
}
/**
* Registers an admin colour scheme css file.
* Registers an admin color scheme css file.
*
* Allows a plugin to register a new admin colour scheme. For example:
* 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'
@ -3959,7 +3959,12 @@ function wp_admin_css_color( $key, $name, $url, $colors = array(), $icons = arra
}
/**
* Registers the default Admin color schemes
* Registers the default admin color schemes.
*
* Registers the initial set of eight color schemes in the Profile section
* of the dashboard which allows for styling the admin menu and toolbar.
*
* @see wp_admin_css_color()
*
* @since 3.0.0
*/