if(is_super_admin($user_id)) { // do stuff for the admin user... } 根据WP-Codex,如果当前登录的用户是网络(超级)管理员,则此函数返回True。
確定! 回上一頁