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



grant_super_admin › WordPress动作钩子

Since3.0.0
已弃用n/a
› do_action( 'grant_super_admin', $user_id )
参数:
  • () user_id ID of the user that is about to be granted Super Admin privileges.
    Required: Yes
定义在:
文档:

Fires before the user is granted Super Admin privileges.





源码

do_action( 'grant_super_admin', $user_id );