grant_super_admin

最后更新于:2021-11-27 00:31:07

do_action( ‘grant_super_admin’, int $user_id )

Fires before the user is granted Super Admin privileges.

参数

$user_id

(int)
ID of the user that is about to be granted Super Admin privileges.

源文件

文件: gc-includes/capabilities.php

View on Trac