admin_color_scheme_picker

SummerySummery

Fires in the ‘Admin Color Scheme’ section of the user editing screen.

Syntax

do_action( 'admin_color_scheme_picker', int $user_id )

DescriptionDescription

The section is only enabled if a callback is hooked to the action, and if there is more than one defined color scheme for the admin.

ParametersParameters

$user_id

(int) The user ID.

SourceSource

File: wp-admin/user-edit.php

ChangelogChangelog

Changelog
Version Description
3.8.1 Added $user_id parameter.
3.0.0 Introduced.
Scroll to Top