首页 WordPress函数大全 is_blog_admin()

is_blog_admin()

2020-05-02 / 5591阅 / 悠然

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

is_blog_admin()

Whether the current request is for a site’s administrative interface.

描述

e.g. /wp-admin/

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

Return Return

(bool) True if inside WordPress blog administration pages.

大家谈论
    我的见解