WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/is blog admin

Contents

Description

Whether the current request is for a blog admin screen /wp-admin/.

Does not inform on whether the user is a blog admin! Use capability checks to tell if the user should be accessing a section or not.

Usage

<?php is_blog_admin() ?>

Parameters

None.

Return Values

(boolean) 
True if inside WordPress network administration pages.

Examples

Notes

Change Log

Since: 3.1.0

Source File

is_blog_admin() is located in /wp-includes/load.php.

Related

See also index of Function Reference and index of Template Tags.