Function: is_blog_admin

is_blog_admin( )

Whether the current request is for a site's admininstrative interface.

e.g. /wp-admin/

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



True if inside WordPress blog administration pages.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.