首页 WordPress函数大全 is_network_admin()

is_network_admin()

2020-05-02 / 4613阅 / 悠然

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

is_network_admin()

Whether the current request is for the network administrative interface.

描述

e.g. /wp-admin/network/

Does not check if the user is an administrator; use current_user_can() for checking roles and capabilities.

Does not check if the site is a Multisite network; use is_multisite() for checking if Multisite is enabled.

Return Return

(bool) True if inside WordPress network administration pages.

大家谈论
    我的见解