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_765' ); function action_function_name_765( $user_id ){ // action... }
- $user_id(int)
- The user ID.
Changelog
Since 3.0.0 | Introduced. |
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 313
do_action( 'admin_color_scheme_picker', $user_id );
Where in WP core the hook is used WordPress
wp-admin/user-edit.php 419
add_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );