This function has been deprecated. BuddyPress 1.5.0 instead.

is_site_admin( int|bool $user_id = false )

WPMU version of is_super_admin()

Description

Parameters

$user_id

(Optional) Defaults to logged-in user

Default value: false

Return

(bool) True if is super admin

Source

File: bp-core/deprecated/buddypress/1.5.php

	function is_site_admin( $user_id = false ) {
		_deprecated_function( __FUNCTION__, '1.5', 'is_super_admin()' );
		return is_super_admin( $user_id );
	}

Changelog

Changelog
Version Description
BuddyPress 1.5.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.