admin_color_scheme_picker

动作钩子


do_action( 'admin_color_scheme_picker', $user_id )
参数
  • (int)
    $user_id
    The user ID.
    Required:
定义位置
  • wp-admin/user-edit.php
    , line 319
引入
3.8.1
弃用

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.

do_action( 'admin_color_scheme_picker', $user_id );