WordPress at a glance
function is not described

is_blog_user() WP 3.0.0

Deprecated from version 3.3.0. It is no longer supported and can be removed in future releases. Use is_user_member_of_blog() instead.

Checks if the current user belong to a given site.

No Hooks.

Return

true|false. True if the current users belong to $blog_id, false if not.

Usage

is_blog_user( $blog_id );
$blog_id(int)
Site ID

Notes

  • See: is_user_member_of_blog()

Changelog

Since 3.0.0 Introduced.
Deprecated Since 3.3.0 Use is_user_member_of_blog()

Code of is_blog_user() WP 5.7

<?php
function is_blog_user( $blog_id = 0 ) {
	_deprecated_function( __FUNCTION__, '3.3.0', 'is_user_member_of_blog()' );

	return is_user_member_of_blog( get_current_user_id(), $blog_id );
}