do_action( ‘admin_color_scheme_picker’, int $user_id )

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

Description

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.

Parameters

$user_idint
The user ID.

Source

do_action( 'admin_color_scheme_picker', $user_id );

Changelog

VersionDescription
3.8.1Added $user_id parameter.
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.