is_admin

SummerySummery

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

Syntax

is_admin()

DescriptionDescription

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

For more information on this and similar theme functions, check out the Conditional Tags article in the Theme Developer Handbook.

ReturnReturn

(bool) True if inside WordPress administration interface, false otherwise.

SourceSource

File: wp-includes/load.php


			

ChangelogChangelog

Changelog
Version Description
1.5.1 Introduced.
Scroll to Top