admin_color_scheme_picker action-hook . WP 3.0.0
Fires in the 'Admin Color Scheme' section of the user editing screen.
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.
Usage
add_action( 'admin_color_scheme_picker', 'action_function_name_267' ); function action_function_name_267( $user_id ){ // action... }
- $user_id(int)
- The user ID.
Notes
- Since 3.8.1 Added
$user_id
parameter.
Where the hook is called
In file:
/wp-admin/user-edit.php
admin_color_scheme_picker
wp-admin/user-edit.php 285
do_action( 'admin_color_scheme_picker', $user_id );
Where the hook is used (in WP core)
wp-includes/default-filters.php 394
add_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );