WordPress.org

Make WordPress Core

Changeset 42765


Ignore:
Timestamp:
02/28/2018 03:27:46 AM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add description for register_admin_color_schemes().

Props terriann, danieltj.
Fixes #42779.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r42703 r42765  
    39193919
    39203920/**
    3921  * Registers an admin colour scheme css file.
    3922  *
    3923  * Allows a plugin to register a new admin colour scheme. For example:
     3921 * Registers an admin color scheme css file.
     3922 *
     3923 * Allows a plugin to register a new admin color scheme. For example:
    39243924 *
    39253925 *     wp_admin_css_color( 'classic', __( 'Classic' ), admin_url( "css/colors-classic.css" ), array(
     
    39603960
    39613961/**
    3962  * Registers the default Admin color schemes
     3962 * Registers the default admin color schemes.
     3963 *
     3964 * Registers the initial set of eight color schemes in the Profile section
     3965 * of the dashboard which allows for styling the admin menu and toolbar.
     3966 *
     3967 * @see wp_admin_css_color()
    39633968 *
    39643969 * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.