is_blog_admin

Advertisement

Summery Summery

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

Syntax Syntax

is_blog_admin()

Description Description

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.

Source Source

File: wp-includes/load.php

 * @return object The cloned object.
 */
function wp_clone( $object ) {
	// Use parens for clone to accommodate PHP 4. See #17880.
	return clone( $object );
}

/**
 * Determines whether the current request is for an administrative interface page.

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply