首页 WordPress函数大全 revoke_super_admin()

revoke_super_admin()

2020-05-02 / 5474阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

revoke_super_admin( int $user_id )

撤消超级管理员特权。

描述

参数

$user_id

(int)
(Required)
ID of the user Super Admin privileges to be revoked from.

返回

(bool) True on success, false on failure. This can fail when the user's email is the network admin email or when the $super_admins global is defined.

大家谈论
    我的见解