WordPress开发者和主题制作者的搜索引擎



admin_color_scheme_picker ›

Since3.8.1
已弃用n/a
do_action( 'admin_color_scheme_picker', $user_id )
参数:
  • (int) $user_id The user ID.
    Required: Yes
定义在:
文档:

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 );