bp_is_profile_component()

Check whether the current page is part of the Profile component.

Description

Return

(bool) True if the current page is part of the Profile component.

Source

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

function bp_is_profile_component() {
	return (bool) bp_is_current_component( 'xprofile' );
}

Changelog

Changelog
Version Description
BuddyPress 1.1.0 Introduced.