bp_is_user()

Is the current page a user page?

Description

Will return true anytime there is a displayed user.

Return

(bool) True if the current page is a user page.

Source

File: bp-core/bp-core-template.php

function bp_is_user() {
	return (bool) bp_displayed_user_id();
}

Changelog

Changelog
Version Description
BuddyPress 1.5.0 Introduced.